Skip to content

Commit

Permalink
cors 셋팅
Browse files Browse the repository at this point in the history
  • Loading branch information
dleo9307 committed Jan 2, 2021
1 parent bd76bcc commit 4373261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';

async function bootstrap() {
const app: INestApplication = await NestFactory.create(AppModule);

app.enableCors();
const options: any = new DocumentBuilder()
.setTitle('Muscular API')
.setDescription('Muscular API Document')
Expand Down

0 comments on commit 4373261

Please sign in to comment.