Skip to content

Commit

Permalink
♻️ cors 허용 도메인 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdals4716 committed Nov 2, 2024
1 parent 8dee11e commit 5da0d5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/example/moyeothon/Config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:8080",
"http://127.0.0.1:8080",
"http://localhost:3000",
"http://127.0.0.1:3000",
"http://localhost:5173",
"http://127.0.0.1:5173",
Expand Down

0 comments on commit 5da0d5f

Please sign in to comment.