In development, the app has code that checks if the page is loaded at a route other than root and redirects if so. This is useful when refreshing the page on the question or visualization page. However, when deployed on Netlify, this causes a 404 error. Modify the Netlify config to allow 404s to redirect to root.
Overview
In development, the app has code that checks if the page is loaded at a route other than
root
and redirects if so. This is useful when refreshing the page on the question or visualization page. However, when deployed on Netlify, this causes a 404 error. Modify the Netlify config to allow 404s to redirect to root.Demo