From 595f6a28447601d69c3979c84306b24fc0287589 Mon Sep 17 00:00:00 2001 From: Mayank Mishra Date: Thu, 30 Oct 2025 12:22:35 +0530 Subject: [PATCH] fix: remove trailing slash from CORS allowed origin URL --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 029692e..2e9575f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -18,7 +18,7 @@ async function bootstrap() { 'http://localhost:3000', // local Swagger UI 'http://localhost:3006', // local frontend url 'https://editor.swagger.io', // Swagger Editor online - 'https://klc-admin.wdiprojects.com/' + 'https://klc-admin.wdiprojects.com' ], methods: 'GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS', credentials: true,