Skip to content

Commit

Permalink
Merge pull request #21 from Seoul-Public-Data/feat/20
Browse files Browse the repository at this point in the history
fix: webConfig에 CORS 설정 추가
  • Loading branch information
jungnoeun authored May 1, 2024
2 parents 8bc63db + 65e22ea commit 1d05989
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://wemate-patrol.vercel.app/")
.allowedMethods("*");
}
}

0 comments on commit 1d05989

Please sign in to comment.