Skip to content

Proxy the local dev server to a deployed stage - #124

Open
jh0ker wants to merge 3 commits into
fix/page-meta-urlsfrom
dev/proxy-config
Open

jh0ker wants to merge 3 commits into
fix/page-meta-urlsfrom
dev/proxy-config

Conversation

@jh0ker

@jh0ker jh0ker commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

The dev server now proxies /data and /api to a deployed stage, so the app runs locally without AWS credentials.

  • Proxy targets: PROXY_TARGET (dev stage in .env.example) is used for both paths. API_PROXY_TARGET overrides /api to use a local backend. This replaces the bucket URL built from S3_BUCKET_PREFIX and the hard-coded serverless-offline target. .env.example drops S3_BUCKET_PREFIX and AWS_REGION, which nothing reads locally; only the Netlify functions build uses S3_BUCKET_PREFIX, and it comes from the Netlify environment there.
  • Error overlay: the benign ResizeObserver loop notice (from react-tooltip) no longer opens it. Webpack warnings such as bundle size hints stay in the terminal.
  • Docs: setup instructions in CONTRIBUTING.md updated.

@jh0ker
jh0ker added this pull request to stack #127 October 6, 2026 15:37
@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for serene-narwhal-9b7b1c ready!

Name Link
🔨 Latest commit a19d4a1
🔍 Latest deploy log https://app.netlify.com/projects/serene-narwhal-9b7b1c/deploys/6ac62e0fe0a0980008fd8b87
😎 Deploy Preview https://deploy-preview-124--serene-narwhal-9b7b1c.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for peaceful-raindrop-cb2462 ready!

Name Link
🔨 Latest commit a19d4a1
🔍 Latest deploy log https://app.netlify.com/projects/peaceful-raindrop-cb2462/deploys/6ac62e0f865ca20008767465
😎 Deploy Preview https://deploy-preview-124--peaceful-raindrop-cb2462.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jh0ker
jh0ker force-pushed the dev/proxy-config branch 2 times, most recently from 50e8c62 to e205e75 Compare October 6, 2026 16:20
jh0ker added 3 commits October 7, 2026 13:33
this one specifically showed up when overing some buttons with a tooltip
these would show in the dev server when running with `NODE_ENV=production`
@jh0ker
jh0ker marked this pull request as ready for review October 7, 2026 11:41

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant