Skip to content

Commit 60fd5c5

Browse files
committed
[chore] CORS 허용 명단에 프론트 로컬 개발환경 추가
1 parent 28b6c8a commit 60fd5c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public CorsFilter corsFilter() {
2222
// CORS 허용 URL
2323
List<String> allowedOrigins = Arrays.asList(
2424
"http://localhost:8080/",
25+
"http://localhost:5173/",
2526
"https://dgucaps.kr/"
2627
);
2728
config.setAllowedOrigins(allowedOrigins);

0 commit comments

Comments
 (0)