I have set up an Azure Static Web App with a custom domain. Both example.com and www.example.com are correctly set up and working.
I would now like to create some rule in staticwebapp.config.json so all requests coming in to https://example.com/* would redirect to https://www.example.com/*.
Is there a way to do this? I know I can do it with Front door or similar, but can I do it through rules in Static Web App?