This might be a noob question, but we are struggling with 404 when hosting Sanity on Netlify. When visiting the site it will redirect to
. For example in Safari you’ll get the cookie not accepted dialog and after clicking all of the login and ok buttons we’ll end up on a Page Not Found page. The same can happen in other browsers as well, but it’s possible to “fix” it by going to the root of the hosted url (deleting /desk from the path) Do we need to define some redirects or something here?
Nov 17, 2021, 2:31 PM
Hi Jørn - not a noob question! This is because it's missing a single-page app routing configuration - if the file/path requested cannot be found, it should fallback to the root (