All of a sudden redirecting to index.html leading to "too many redirects"
We're hosting our pages on CF workers. Yesterdays deployments of our SPA are good, all of todays deployments suddenly give "too many redirects".
Our _redirects file
Our deployment from 15h ago
https://40f40083.console-ey3.pages.dev/
Our deployment of today
https://4cedd8d6.console-ey3.pages.dev/
It keeps on redirecting to index.html and loops on there. We have made no changes to our config.
Finalytic Web App
Finalytic Web Application
6 Replies
You can remove that redirect if you don't have a 404.html file. We already serve SPA behaviour (if no 404.html is found at root)
Yeah, thanks for pointing out @walshydev , we're just trying that, will update in a few minutes.
That redirect will have been ignored until last night
So it was actually just never working until now
Alright, it works now with the _redirects file removed, thanks for quick feedback @walshydev
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
The rollout that caused this has now been rolled back, so this syntax won't break new deploys anymore. Sorry for the troubles.