You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when my getServerData fn on a ssr route returns a 404 status (or any other statuscode) netlify will always send a 200 statuscode since this is hardcoded (which can be seen here). when data.serverDataStatus yields a 404 or 500 we should return the getErrorResponse fn instead
Summary
when my
getServerData
fn on a ssr route returns a 404 status (or any other statuscode) netlify will always send a 200 statuscode since this is hardcoded (which can be seen here). whendata.serverDataStatus
yields a 404 or 500 we should return thegetErrorResponse
fn insteadSteps to reproduce
! serving with gatsby (
gatsby serve
) wont work since here it works correctly)A link to a reproduction repository
No response
Plugin version
3.8.0
More information about your build
netlify.toml
)What OS are you using?
Mac OS
Your netlify.toml file
`netlify.toml`
Configuration
`gatsby-config.js` and options
Environment
Environment
Gatsby info
gatsby info
Your _redirects file
`_redirects`
# Paste content of your `_redirects` file here
Builds logs (or link to your logs)
Build logs
Function logs
Function logs
The text was updated successfully, but these errors were encountered: