Skip to content

Commit

Permalink
Merge pull request #22 from Seoul-Public-Data/feat/21
Browse files Browse the repository at this point in the history
fix: https cors 설정 추가
  • Loading branch information
syyling authored May 1, 2024
2 parents 1d05989 + 3f618be commit 0f6c9ce
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 0f6c9ce

Please sign in to comment.