feat: point app at GCP api.soundlog.shop origin - #21
Open
manNomi wants to merge 1 commit into
Open
Conversation
SoundLogServer moved from AWS EC2 to a GCP Compute Engine VM, with Caddy terminating HTTPS for api.soundlog.shop directly on the VM. Updates EAS build env, docs, and the Vercel API-origin guard scripts to match (api.soundlog.shop was previously deny-listed as a stale origin from an earlier iteration; it's the current origin again). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 tasks
Contributor
Author
남은 할 일 (TODO)
검증 완료
|
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
api.soundlog.shopdirectly on the VM (see SoundLogServer#19). UpdatesEXPO_PUBLIC_SOUNDLOG_API_BASE_URLineas.json(development/preview/production) fromhttps://soundlog.shop/api/soundlogtohttps://api.soundlog.shopso the app calls the API directly instead of through the Vercel rewrite proxy.docs/deployment/SOUNDLOG_SHOP_DOMAIN.mdandREADME.mdto describe the newapi.soundlog.shopA record and the updated env values.scripts/require-vercel-api-origin.jshadhttps://api.soundlog.shopdeny-listed instaleOriginsfrom an earlier iteration of the project (before it moved to the EC2 + Vercel-proxy setup this PR is replacing). Removed it from that list — otherwise the Vercel web build would immediately fail onceSOUNDLOG_API_ORIGINis set back to this value. Also fixed staleEC2references inscripts/check-api-origin.jsandscripts/check-server-web-export.jserror/usage messages.Manual step required (blocking)
api.soundlog.shopneeds a Gabia DNSArecord →34.64.116.40(the new GCP static IP) beforehttps://api.soundlog.shopresolves. See SoundLogServer#19 for details.Related
sound-log-appVercel project'sSOUNDLOG_API_ORIGINenv var (Production + Preview) has already been updated tohttps://api.soundlog.shop. The next web deploy needs this PR merged first, since the stale-origin guard fix lives here.Test plan
node -con the three edited scripts,eas.jsonJSON-validatednpm run check:api-origin -- https://api.soundlog.shoponce DNS is livedevelopment/previewbuild smoke test against the new originsound-log-appafter merge and confirm the build passes the origin guard🤖 Generated with Claude Code