From fa0c873a106837a0a97096f22fdd7568a6b41025 Mon Sep 17 00:00:00 2001 From: adueck Date: Thu, 27 Jul 2023 00:04:54 +0400 Subject: [PATCH] debug --- account/src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/account/src/index.ts b/account/src/index.ts index 73d7deb..b94d577 100644 --- a/account/src/index.ts +++ b/account/src/index.ts @@ -11,11 +11,10 @@ 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, }; -console.log({ inProd }); const app = express(); // MIDDLEWARE AND SETUP 🔧 //