Skip to content

Commit 2091705

Browse files
committed
allowed-origin 허용
1 parent 0bce012 commit 2091705

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/resources/application.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ spring:
3232
app:
3333
cors:
3434
# 프론트엔드 허용 도메인 (환경변수 FRONTEND_ORIGIN 없으면 기본값 사용)
35-
allowed-origin: ${FRONTEND_ORIGIN:http://shop.nextcloudlab.com}
35+
# allowed-origin: ${FRONTEND_ORIGIN:http://shop.nextcloudlab.com}
36+
allowed-origin: ${FRONTEND_ORIGIN:http://localhost:3000}
3637

3738
jwt:
3839
# JWT 서명 시크릿 키 (32자 이상!)

0 commit comments

Comments
 (0)