Skip to content

Commit

Permalink
fix: https cors 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
syyling committed May 1, 2024
1 parent 1d05989 commit 3f618be
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class WebConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000")
.allowedOrigins("https://localhost:3000")
.allowedOrigins("https://wemate-patrol.vercel.app/")
.allowedMethods("*");
}
Expand Down

0 comments on commit 3f618be

Please sign in to comment.