Skip to content

Commit

Permalink
Merge pull request #235 from JNU-econovation/feature/BE-89
Browse files Browse the repository at this point in the history
[feat]: FE 개발 서버 CORS 해결
  • Loading branch information
LJH098 authored Aug 31, 2024
2 parents c3d744e + 3168a2a commit e6e8f3c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public void addCorsMappings(CorsRegistry registry) {
if (!springEnvironmentHelper.isProdProfile()) {
allowedOriginPatterns.add("http://localhost:3000");
allowedOriginPatterns.add("http://localhost:6379");
allowedOriginPatterns.add("http://211.188.51.50:80");
}
String[] patterns = allowedOriginPatterns.toArray(String[]::new);
registry.addMapping("/**")
Expand Down

0 comments on commit e6e8f3c

Please sign in to comment.