Skip to content

Commit

Permalink
[MERGE/#136] 도메인 수정사항 CORS 설정파일에 반영
Browse files Browse the repository at this point in the history
[FIX] #136 - 도메인 수정사항 CORS 설정파일에 반영
  • Loading branch information
ckkim817 authored Jul 19, 2024
2 parents 4c9ccdd + 2bf1d1b commit 4c4b14a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class WebConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:8080", "http://localhost:8081", "http://localhost:5173",
"https://api.seonyak-dev.kro.kr", "https://www.seonyak.com")
"https://www.seonyak.com", "https://api.seonyak.com")
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE")
.allowedHeaders("*")
.allowCredentials(true)
Expand Down

0 comments on commit 4c4b14a

Please sign in to comment.