We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeb898c commit 7f20d03Copy full SHA for 7f20d03
src/main.ts
@@ -15,6 +15,7 @@ async function bootstrap() {
15
16
SwaggerModule.setup('api-docs', app, swaggerDocument);
17
app.useGlobalPipes(new ValidationPipe({ disableErrorMessages: false, whitelist: true }))
18
+ app.enableCors();
19
await app.listen(process.env.PORT || 3000);
20
}
21
bootstrap();
0 commit comments