Route protected with staticwebapp.config.json in Azure Static Web App return 404
I’m using SWA CLI to emulate an Azure Static Web App with an Angular application on my local machine. The staticwebapp.config.json file is used to protect specific routes. The current configuration works fine in the local emulator, but when publishing the application to Azure Static Web App, the “/test” route returns a 404 error.