Skip to content

Commit

Permalink
Merge pull request #230 from bsideproject/feature/ywlee-test
Browse files Browse the repository at this point in the history
[fix/bugs] cors 에러 발생하여 allowed origin pattern 에 추가해봄
  • Loading branch information
zestlee1106 authored Oct 8, 2023
2 parents a9f06ff + 9c8cd34 commit 25d7507
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/koliving/api/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ CorsConfigurationSource corsConfigurationSource() {
//configuration.setAllowCredentials(true);
configuration.setAllowedOriginPatterns(
List.of(
"http://localhost:3000",
"http://*.localhost:[*]",
"https://*.localhost:[*]",
"http://koliving.kro.kr:[*]",
Expand Down

0 comments on commit 25d7507

Please sign in to comment.