Closed m3hari closed 2 years ago
routes that do not have props-handler returning 404 status for the rendered document even though the content is correct.
props-handler
404
I think this can be solved by either making sure the renderer always return a status code or avoiding NotFoundResponse for missing props here https://github.com/frandiox/vitedge/blob/37bdd74706298e14d69106da578895f4cd08a6c7/src/worker/props.js#L64
renderer
I can make a PR if the issue is acknowledged
Thanks
Make sense for an SSR request but please make sure a props-only request gets the 404 back. Also, the src/node should have similar behavior as src/worker 👍
src/node
src/worker
routes that do not have
props-handler
returning404
status for the rendered document even though the content is correct.I think this can be solved by either making sure the
renderer
always return a status code or avoiding NotFoundResponse for missing props here https://github.com/frandiox/vitedge/blob/37bdd74706298e14d69106da578895f4cd08a6c7/src/worker/props.js#L64I can make a PR if the issue is acknowledged
Thanks