Skip to content

Commit ed2687a

Browse files
authored
Merge pull request #229 from JECT-Study/feat/add-core-domian
prod 환경 CORS 허용 도메인에 Vercel 클라이언트 도메인 추가
2 parents 9ee8a1f + ca78551 commit ed2687a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/resources/application-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ app:
5050
# 예: https://vs.io.kr,https://admin.vs.io.kr
5151
# 로컬 프론트 개발 편의를 위해 기본값에 localhost:3000을 임시 포함합니다.
5252
# 백엔드 서버간 직접 호출에는 브라우저 CORS 검사가 적용되지 않습니다.
53-
allowed-origins: ${APP_CORS_ALLOWED_ORIGINS:https://vs.io.kr,http://localhost:3000,http://127.0.0.1:3000}
53+
allowed-origins: ${APP_CORS_ALLOWED_ORIGINS:https://vs.io.kr,http://localhost:3000,http://127.0.0.1:3000,https://vs-4th-client-k5rd.vercel.app}
5454
allowed-methods: ${APP_CORS_ALLOWED_METHODS:GET,POST,PUT,PATCH,DELETE,OPTIONS}
5555
allowed-headers: ${APP_CORS_ALLOWED_HEADERS:Authorization,Content-Type,X-Requested-With,Accept,Origin}
5656
allow-credentials: ${APP_CORS_ALLOW_CREDENTIALS:true}

0 commit comments

Comments
 (0)