I've got a static web app containing an Angular SPA. I'm attempting to have all traffic redirected to the index.html in order to have the app handle navigation client-side and allow for site refreshes. AFAIK this is a fairly common practice in Azure Static Web Apps.
My CI process is based on github actions:
- npm install
- npm build --prod
- az strorage blob upload-batch to $web container
All in all, I'm doing my best to follow the documentation as specified here: https://docs.microsoft.com/en-us/azure/static-web-apps/configuration
I've deployed routes.json & staticwebapp.conf.json to the site's root (server-side)
(routes.json should be ignored if the other file is present)
The site loads properly, however if I navigate and refresh or navigate to a url directly from a browser: https://reset0ger0d0web.z1.web.core.windows.net/kim-jestesmy I get a 404 returned by the underlying storage.
Can anyone explain what's wrong here?