Skip to content

Commit

Permalink
Merge pull request #23 from Seoul-Public-Data/feat/22
Browse files Browse the repository at this point in the history
fix: cors 설정 추가
  • Loading branch information
syyling authored May 1, 2024
2 parents 0f6c9ce + 9894ca4 commit 2b13b3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class WebConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000")
.allowedOrigins("https://localhost:3000")
.allowedOrigins(("http://localhost:3000/"))
.allowedOrigins("https://wemate-patrol.vercel.app/")
.allowedMethods("*");
}
Expand Down

0 comments on commit 2b13b3c

Please sign in to comment.