Skip to content

Commit

Permalink
hotfix: 도메인 cors 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlrude committed Sep 17, 2024
1 parent cc60165 commit 133f932
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class WebConfiguration implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:5173")
.allowedOrigins("http://localhost:5173", "https://check-it.shop")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowCredentials(true);
}
Expand Down

0 comments on commit 133f932

Please sign in to comment.