Skip to content

Commit

Permalink
[HOTFIX] CORS allowedOrigins 경로 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ckkim817 committed Oct 24, 2024
1 parent ec5ac6d commit 3c0ffb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:8080", "http://localhost:8081", "http://localhost:5173",
"https://seonyak.com", "https://www.seonyak.com", "https://api.seonyak.com",
"https://www.seonyak.p-e.kr", "https://api.seonyak.com/swagger-ui/index.html")
"https://seonyak-client.pages.dev", "https://api.seonyak.com/swagger-ui/index.html")
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE")
.allowedHeaders("*")
.allowCredentials(true)
Expand Down

0 comments on commit 3c0ffb4

Please sign in to comment.