Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
totobon6125 committed Oct 16, 2023
1 parent 3f47e71 commit 1ff068d
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 @@ -25,7 +25,7 @@ async function bootstrap() {

const document = SwaggerModule.createDocument(app, config);
SwaggerModule.setup('api', app, document);
//cors 정책 cd test!!
//cors 정책
app.enableCors({
origin: ['http://localhost:5173'],
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
Expand Down

0 comments on commit 1ff068d

Please sign in to comment.