Astro Info
Astro v5.0.0-beta.5
Node v20.11.1
System Linux (x64)
Package Manager unknown
Output static
Adapter @astrojs/netlify
Integrations none
Describe the Bug
Hi,
on netlify deployments, opt-in for SSR page via export const prerender = false; makes route unavailable and causes 404 error.
- it works on local dev server.
- running
output: "server" with opt-in for SSG in other pages export const prerender = true; works fine.
- min. reproducer with SSR /contact page attached
What's the expected result?
Expectation is that opt-in for SSR works per page on netlify deployments. It does work on local dev server. On latest stable v4 this works with output: hybrid
Link to Minimal Reproducible Example
https://github.com/raswonders/astro-reproducer
Participation
Astro Info
Describe the Bug
Hi,
on netlify deployments, opt-in for SSR page via
export const prerender = false;makes route unavailable and causes 404 error.output: "server"with opt-in for SSG in other pagesexport const prerender = true;works fine.What's the expected result?
Expectation is that opt-in for SSR works per page on netlify deployments. It does work on local dev server. On latest stable v4 this works with
output: hybridLink to Minimal Reproducible Example
https://github.com/raswonders/astro-reproducer
Participation