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 133f932 commit 68d4118
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", "https://check-it.shop")
.allowedOrigins("http://localhost:5173", "https://check-it.shop", "https://d1gntbefjuz72k.cloudfront.net")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowCredentials(true);
}
Expand Down

0 comments on commit 68d4118

Please sign in to comment.