You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article explains how to host and deploy standalone Blazor WebAssembly with [Microsoft Azure Static Web Apps](https://azure.microsoft.com/products/app-service/static).
16
16
17
+
## App configuration
18
+
19
+
To ensure that requests for any path return `index.html`, set a navigation fallback route.
20
+
21
+
Create a file named `staticwebapp.config.json` in the project's root folder with the following content:
22
+
23
+
```json
24
+
{
25
+
"navigationFallback": {
26
+
"rewrite": "/index.html"
27
+
}
28
+
}
29
+
```
30
+
17
31
## Deploy from Visual Studio
18
32
19
33
To deploy from Visual Studio, create a publish profile for Azure Static Web Apps:
0 commit comments