added server url of frontend for cors
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user