Skip to content

Commit

Permalink
fix: CORS allowedOrigins를 와일드카드로 변경 (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeeeyeon committed Jul 29, 2024
1 parent 017d0da commit 1d71c38
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedHeaders("*")
.allowedMethods("HEAD", "OPTIONS", "GET", "POST", "PUT", "PATCH", "DELETE")
.allowedOrigins("localhost:3000", "https://packyforyou.com",
"https://dev.packyforyou.com")
.allowedOrigins("*")
.maxAge(3600);
}
}

0 comments on commit 1d71c38

Please sign in to comment.