Skip to content

Commit

Permalink
[Feature] - FE develop CORS ์ฒ˜๋ฆฌ (#109)
Browse files Browse the repository at this point in the history
* feat: ํ”„๋ก ํŠธ์—”๋“œ dev ์„œ๋ฒ„ cors ์ถ”๊ฐ€

* fix: cors ์„ค์ • ์˜ค๋ฅ˜ ์ˆ˜์ •
  • Loading branch information
eunjungL authored Jul 24, 2024
1 parent 2d73e61 commit 8eb6aa0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000")
.allowedOrigins("https://dev.touroot.kr");
.allowedOrigins("http://localhost:3000", "https://dev.touroot.kr");
}
}

0 comments on commit 8eb6aa0

Please sign in to comment.