Skip to content

Commit d4ebb7a

Browse files
committed
[fix] CORS 설정에서 로컬 개발환경의 URL을 HTTPS로 변경
1 parent b644457 commit d4ebb7a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/kr/dgucaps/caps/global/config/CorsConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ public CorsFilter corsFilter() {
2121

2222
// CORS 허용 URL
2323
List<String> allowedOrigins = Arrays.asList(
24-
"http://localhost:8080",
25-
"http://localhost:5173",
24+
"https://localhost:5173",
2625
"https://dgucaps.kr"
2726
);
2827
config.setAllowedOrigins(allowedOrigins);

0 commit comments

Comments
 (0)