Skip to content

Fix netlify direct links in deploy previews#49

Merged
NEStock merged 1 commit intomainfrom
48-fix-netlify-direct-links-in-spa
May 9, 2025
Merged

Fix netlify direct links in deploy previews#49
NEStock merged 1 commit intomainfrom
48-fix-netlify-direct-links-in-spa

Conversation

@NEStock
Copy link
Copy Markdown
Member

@NEStock NEStock commented May 8, 2025

Closes #48

Netlify does not by default correctly route SPAs, so direct links to pages like /projects were not working on previous PR, but these kind of links will not work on on this PR + in future PRs.

Working Example: https://deploy-preview-49--emberarchive.netlify.app/projects
Former, not working example: https://deploy-preview-47--emberarchive.netlify.app/projects

Note: This is fully just to support deploy previews in our PRs, unrelated to real deployments

@NEStock NEStock self-assigned this May 8, 2025
@NEStock NEStock linked an issue May 8, 2025 that may be closed by this pull request
@netlify
Copy link
Copy Markdown

netlify bot commented May 8, 2025

Deploy Preview for emberarchive ready!

Name Link
🔨 Latest commit ba99bb5
🔍 Latest deploy log https://app.netlify.com/sites/emberarchive/deploys/681d19f33037b100080e947f
😎 Deploy Preview https://deploy-preview-49--emberarchive.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 site configuration.

@NEStock NEStock marked this pull request as ready for review May 8, 2025 20:56
@NEStock NEStock changed the title netlify suggested solution for direct links to non-index pages Fix netlify direct links in deploy previews May 8, 2025
@NEStock NEStock merged commit dc98bf4 into main May 9, 2025
7 checks passed
@NEStock NEStock deleted the 48-fix-netlify-direct-links-in-spa branch May 9, 2025 12:57
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.

Fix netlify direct links in SPA

3 participants