New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move catch-all redirect to an Astro endpoint #31
Conversation
the redirect was messing with the netlify dev server and breaking live reload, so I added SSR to let astro handle that instead commit config
✅ Deploy Preview for astro-new ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Pretty sure this was originally written before SSR support, nice to have this logic all in the Astro app instead of split between SSG and a custom serverless function 🙌
Added one note related to the config file format in case it fixes the @astrojs/netlify typing issue, but very unimportant and non-blocking
The redirect was messing with the Netlify dev server and breaking live reload, so I added SSR to let Astro handle that instead