From 6b3d2ae7cff08ab4435f4387514899dfb4af1a12 Mon Sep 17 00:00:00 2001 From: Mayank Mishra Date: Fri, 14 Nov 2025 14:44:04 +0530 Subject: [PATCH] added cors --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 5da83ba..7d96fdc 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,7 +16,7 @@ async function bootstrap() { app.enableCors({ origin: [ 'http://localhost:3000', // Local Swagger UI - 'http://localhost:3006', // Local Frontend + 'http://localhost:5173', // Local Frontend 'https://editor.swagger.io', // Swagger Editor 'https://klc-admin.wdiprojects.com', 'https://admin-uat.klc.betadelivery.com',