From 92aaee9bcc06d08275f994ef70b0be0b070d2a0d Mon Sep 17 00:00:00 2001 From: Jan Szumotalski Date: Tue, 20 May 2025 20:57:41 +0200 Subject: [PATCH] fix: Removed redundant cors url --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 1ca15c2..2600d57 100644 --- a/src/index.ts +++ b/src/index.ts @@ -36,7 +36,7 @@ var app = express(); app.use(bodyParser.json()) app.use(bodyParser.urlencoded({extended: true})) app.use(cors({ - origin: ["http://localhost:4200", "http://localhost:3000", `https://${process.env.DOMAIN}`,], + origin: ["http://localhost:4200", `https://${process.env.DOMAIN}`,], credentials: true })) app.use(session({