From 3e8d86df57a9a97de30823b281a7888bb1c316f6 Mon Sep 17 00:00:00 2001 From: adueck Date: Thu, 27 Jul 2023 00:06:00 +0400 Subject: [PATCH] debug --- account/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, };