Skip to content

Commit ee29fee

Browse files
authored
Merge pull request #15 from DevKor-github/takmj00-patch-1-1
Update CorsConfig.java
2 parents 2f1e2de + d97e75f commit ee29fee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/ODG/ODG_back/security/config/CorsConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public CorsConfigurationSource corsConfigurationSource() {
1616

1717
// 프론트 연동 후 localhost 부분 삭제 필수
1818
configuration.setAllowedOriginPatterns(Arrays.asList(
19+
"*",
1920
"http://localhost:*",
2021
"https://localhost:*",
2122
"https://o-digo.com"
@@ -35,4 +36,4 @@ public CorsConfigurationSource corsConfigurationSource() {
3536
source.registerCorsConfiguration("/**", configuration);
3637
return source;
3738
}
38-
}
39+
}

0 commit comments

Comments
 (0)