added server url of frontend for cors

This commit is contained in:
2025-10-30 12:18:18 +05:30
parent 04c3c6ddbe
commit d0d2bc8cd6

View File

@@ -18,6 +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/'
],
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS',
credentials: true,