I have a flutter web app that runs fine locally, however, when uploaded to the Azure infrastructure (via Azure Static Web Apps) I run into problems using the PathUrlStrategy option - when the url is entered manually there's a 404 returned. From here it states that there's some server config to do (but isn't clear about what).
After a bit of digging, I've found a reference to a .htaccess file (problem seems to be similar - treating the path as a subdirectory) but I'm not sure how to apply it to the static web app config?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>
Thanks in advance,