added cors

This commit is contained in:
2025-11-14 14:44:04 +05:30
parent fb9a92984b
commit 6b3d2ae7cf

View File

@@ -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',