Skip to content

Commit 790a724

Browse files
committed
Chore: cors 설정 추가
1 parent 9d67def commit 790a724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/DecodEat/global/config/CorsConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public CorsConfigurationSource corsConfigurationSource() {
1616
CorsConfiguration configuration = new CorsConfiguration();
1717

1818
configuration.setAllowedOriginPatterns(List.of( "https://decodeat.netlify.app",
19-
"http://localhost:8080","http://localhost:5173" ));
19+
"http://localhost:8080","http://localhost:5173", "http://decodeat.store", "https://decodeat.store" ));
2020
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS"));
2121
configuration.setAllowedHeaders(List.of("*"));
2222
configuration.setAllowCredentials(true); // 쿠키/인증정보 포함 허용

0 commit comments

Comments
 (0)