Skip to content

Commit 72d3a57

Browse files
authored
Merge pull request #371 from PromptPlace/fix/#370
[FIX] Swagger 문서 배포 환경 경로 문제 해결 및 Caddy 도메인 설정 업데이트
2 parents 563884a + 733d4e7 commit 72d3a57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Caddyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
auto_https off
88
}
99

10-
http://promptplace.kro.kr {
10+
http://promptplace.kro.kr, http://promptplace.kr, http://www.promptplace.kr{
1111
encode zstd gzip
1212

1313
# 보안 헤더 (HSTS는 HTTPS 응답에서만 의미 있으므로 여기서는 생략 가능)
@@ -17,7 +17,7 @@ http://promptplace.kro.kr {
1717
}
1818

1919
# api-docs 요청을 앱으로 전달
20-
handle /api-docs {
20+
handle /api-docs* {
2121
reverse_proxy app:3000
2222
}
2323

src/docs/swagger/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ export const swaggerOptions = {
2121
},
2222
],
2323
},
24-
apis: ['src/**/*.ts'], // JSDoc이 있는 파일 경로
24+
apis: ['./src/**/*.ts', './dist/**/*.js'] // JSDoc이 있는 파일 경로
2525
};

0 commit comments

Comments
 (0)