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
In local dev, 404 pages are working as intented.
For non-existent path, it will generate dynamic 404 pages like the following image.
Current Behavior
However, when depolyed on both vercel and netlify, it will show function crash message.
On Vercel, it will always show function crash message.
On Netlify, for the same path it will show the crash message the first time. Next time, it will show the correct 404 page.
To Reproduce on Vercel
Go to the following URL, it will show function crash message https://kwaa.dev/404
Result:
Go to the instance on Vercel > View Build Logs > Functions > Realtime Logs
You will get similar erorr like the following image.
Expected Behavior
In local dev, 404 pages are working as intented.
For non-existent path, it will generate dynamic 404 pages like the following image.
Current Behavior
However, when depolyed on both vercel and netlify, it will show function crash message.
On Vercel, it will always show function crash message.
On Netlify, for the same path it will show the crash message the first time. Next time, it will show the correct 404 page.
To Reproduce on Vercel
Go to the following URL, it will show function crash message
https://kwaa.dev/404
Result:
Go to the instance on Vercel >
View Build Logs
>Functions
>Realtime Logs
You will get similar erorr like the following image.
To Reporduce on Netlify
Go to the following URL, the 1st time it will show function crash message
https://urara-demo.netlify.app/404
Result:
Go to the following URL, the 2nd time it will show the correct 404 page
https://urara-demo.netlify.app/404
Result:
The text was updated successfully, but these errors were encountered: