Skip to content

Commit

Permalink
enabled cores added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmet AYDIN committed May 26, 2020
1 parent e202a23 commit 8266988
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ async function bootstrap() {
app.useGlobalFilters(new AllExceptionFilter(httpAdapter));
app.setGlobalPrefix('api');
app.useGlobalPipes(new ValidationPipe());
app.enableCors();

const options = new DocumentBuilder()
.setTitle('Udemy course API endpoints')
Expand Down

0 comments on commit 8266988

Please sign in to comment.