diff --git a/account/src/index.ts b/account/src/index.ts index b94d577..f184fd1 100644 --- a/account/src/index.ts +++ b/account/src/index.ts @@ -11,7 +11,7 @@ import paymentRouter from "./routers/payment-router"; import dictionaryRouter from "./routers/dictionary-router"; const sameOriginCorsOpts = { - origin: "*", // inProd ? /\.lingdocs\.com$/ : "*", + origin: inProd ? /\.lingdocs\.com$/ : "*", methods: "GET,HEAD,PUT,PATCH,POST,DELETE", credentials: true, };