Skip to content

[codex] fix frontend demo deep links#9

Merged
easyshellworld merged 1 commit intoeasyshellworld:mainfrom
JackCC703:codex/fix-netlify-earn-flow-route
Apr 15, 2026
Merged

[codex] fix frontend demo deep links#9
easyshellworld merged 1 commit intoeasyshellworld:mainfrom
JackCC703:codex/fix-netlify-earn-flow-route

Conversation

@JackCC703
Copy link
Copy Markdown
Contributor

Summary

  • Add a Netlify SPA fallback so direct visits to React routes such as /earn-flow return index.html instead of 404.
  • Update the slides demo links to use the deployed Netlify URLs.

Root Cause

The demo uses BrowserRouter, so in-app navigation works after React loads, but direct requests to /earn-flow reach Netlify first. Without a rewrite, Netlify looks for a physical /earn-flow file and returns 404.

Validation

  • npm run build in frontend-demo

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 15, 2026

Deploy Preview for bridgeshieldadmin canceled.

Name Link
🔨 Latest commit beba3b1
🔍 Latest deploy log https://app.netlify.com/projects/bridgeshieldadmin/deploys/69deffc0e633dd0008b48393

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 15, 2026

Deploy Preview for bridgeshield-demo ready!

Name Link
🔨 Latest commit beba3b1
🔍 Latest deploy log https://app.netlify.com/projects/bridgeshield-demo/deploys/69deffc0a1f5810008a550e2
😎 Deploy Preview https://deploy-preview-9--bridgeshield-demo.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.

@easyshellworld easyshellworld marked this pull request as ready for review April 15, 2026 05:45
@easyshellworld easyshellworld merged commit 600d009 into easyshellworld:main Apr 15, 2026
12 checks passed
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.

2 participants