Skip to content

Commit f5847f8

Browse files
committed
fix : CORS 설정 변경
1 parent da613f6 commit f5847f8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/src/main/java/com/mbtips/common/configuration/SecurityConfiguration.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ public SecurityFilterChain configure(HttpSecurity http) throws Exception {
4747
public CorsConfigurationSource corsConfiguration() {
4848
CorsConfiguration corsConfiguration = new CorsConfiguration();
4949
corsConfiguration.setAllowedOrigins(List.of(
50-
"*",
51-
"http://34.47.114.108:3000",
52-
"https://mbitips.kr"
50+
"*"
5351
));
5452
corsConfiguration.setAllowCredentials(true);
5553
corsConfiguration.setAllowedHeaders(List.of("*"));

0 commit comments

Comments
 (0)