Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hyejj19
marked this pull request as draft
October 24, 2026 02:15
Collaborator
Author
|
Warpgate 대응은 나중에 다시 진행 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 제목 (Title)
변경 사항 (Changes)
vite.config.ts가API_SERVER_WARP_URL을 읽어 dev 서버 프록시 대상을 결정한다.API_SERVER_WARP_URL이 있으면 Warpgate origin으로/api,/admin/api프록시warpgate-ticket쿼리를 붙임 (Authorization은 로그인 Bearer 토큰이 사용)VITE_API_BASE_URL동작 유지VITE_접두사가 없어 브라우저 번들에 티켓이 포함되지 않음변경 이유 (Reason for Changes)
admin-api.development.bottle-note.com이 NXDOMAIN이라pnpm dev의 API 프록시가 모두ENOTFOUND로 실패한다.API_SERVER_WARP_URL로 이미 전환됐고, 어드민 로컬 개발 환경만 빠져 있었다. FE의next.config.mjsrewrites와 같은 방식(티켓을 쿼리로 전달)을 따른다.테스트 방법 (Test Procedure)
tsc -b,eslint vite.config.ts,prettier --check통과pnpm dev→ 로그인 및/admin/api/v1/...호출 200 확인참고 사항 (Additional Information)
bottle-note/environment-variables의application.vite/dev.sops.env에API_SERVER_WARP_URL추가가 별도로 필요하다(권한자 진행). 이 PR만 먼저 머지돼도 기존 동작은 깨지지 않는다.🤖 Generated with Claude Code