feat: migrate static files from backend to R2#54
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
1b42812 to
d9a2ded
Compare
Replace backend API calls for static assets (anim, terrain) with direct requests to NEXT_PUBLIC_STATIC_BASE_URL (R2 bucket). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Delete tileset API endpoints and StaticFiles mount since static assets are now served directly from R2. Also remove preprocess output copy from Dockerfile. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
d9a2ded to
c89504b
Compare
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.
Summary
NEXT_PUBLIC_STATIC_BASE_URL환경 변수를 통해 R2 URL 설정Changes
useImage,useTilesetData,useTileGroup훅에서 백엔드 API 대신 R2 직접 요청tileset.py엔드포인트 삭제,StaticFilesCache및/static마운트 제거/app/static디렉토리 생성 제거NEXT_PUBLIC_STATIC_BASE_URL설정 안내 추가Test plan
.env.development,.env.production에NEXT_PUBLIC_STATIC_BASE_URL설정 확인🤖 Generated with Claude Code