Skip to content

Commit

Permalink
[MERGE/#111] 약속 수락 API CORS 에러 해결
Browse files Browse the repository at this point in the history
[FIX] #111 - 약속 수락 API CORS 에러 해결
  • Loading branch information
ckkim817 authored Jul 17, 2024
2 parents 9f012f7 + 2478ffa commit fbed93c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ 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")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE")
.allowedHeaders("*")
.allowCredentials(true)
.maxAge(3600);
Expand Down

0 comments on commit fbed93c

Please sign in to comment.