[api] swagger 셋팅중

- cors 화이트리스트 허용방식 변경
This commit is contained in:
2026-02-26 09:35:21 +09:00
parent 936c26c787
commit 43d3f8947e
5 changed files with 79 additions and 23 deletions
+10
View File
@@ -18,6 +18,16 @@ jwt:
cookie:
secure: false # 로컬 개발 환경 (HTTP)
cors:
allowed-origins:
- "http://localhost:8100"
- "http://localhost:8101"
- "http://localhost:8102"
- "http://localhost:8103"
- "http://localhost:8104"
- "http://localhost:8105"
- "http://localhost:8108"
swagger:
login:
id: alist
+18
View File
@@ -20,6 +20,24 @@ jwt:
cookie:
secure: true # 프로젝트 환경 (HTTPS)
cors:
allowed-origins:
- "http://localhost"
- "http://localhost:8100"
- "http://localhost:8101"
- "http://localhost:8102"
- "http://localhost:8103"
- "http://localhost:8104"
- "http://localhost:8105"
- "http://localhost:8108"
- "https://wwwl-alist.pjt.kr"
- "https://engl-alist.pjt.kr"
- "https://admin-alist.pjt.kr"
- "https://wwwc-alist.pjt.kr"
- "https://class-alist.pjt.kr"
- "https://student-alist.pjt.kr"
- "https://storybook-alist.pjt.kr"
swagger:
login:
id: ${SWAGGER_ID}