SSR pages with prerender
configuration are not getting served from static HTML
#1099
Milestone
prerender
configuration are not getting served from static HTML
#1099
Type of Change
Bug
Summary
After upgrading to v0.28.0, noticed that when introduced API routes into a "static" project, this combination triggers the hybrid server and now the HTML coming back for the home page is showing a bunch of 404s because it is being served from index.js instead of the static index.html output. (which actually revealed another bug).
Details
However, what is key to note about the difference between this and #1098 is that this project has
prerender: true
in its greenwood.config.js which means this page should not be serving from index.js. The output index.html is correctly bundled, and that is what should be being served.In fact, there's no reason for this to even need a bundled index.js in the first place.
The text was updated successfully, but these errors were encountered: