Skip to content

Commit 0c0af57

Browse files
committed
✨ feat: vite 개발용 포트 cors 허용
1 parent 1f81411 commit 0c0af57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ async function bootstrap() {
2222
app.enableCors({
2323
origin: [
2424
'http://localhost:5173',
25+
'http://localhost:4173',
2526
'https://www.denamu.site',
2627
'https://denamu.site',
2728
],

0 commit comments

Comments
 (0)