Skip to content

Commit ba16d90

Browse files
committed
feat(CORS): 5173 포트 (Vite) 추가
1 parent a576a33 commit ba16d90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/somemore/global/configure/WebConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public void addCorsMappings(CorsRegistry registry) {
1212
registry.addMapping("/**")
1313
.allowedOrigins(
1414
"http://localhost:3000",
15+
"http://localhost:5173",
1516
"http://front-deploy.s3-website.ap-northeast-2.amazonaws.com"
1617
)
1718
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")

0 commit comments

Comments
 (0)