Skip to content

Commit 0a4cdec

Browse files
author
Kotkov Eugeny
committed
navigationFallback
1 parent 3794d28 commit 0a4cdec

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

public/staticwebapp.config.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
2-
"routes": [
3-
{
4-
"route": "/*",
5-
"serve": "/index.html",
6-
"statusCode": 200
7-
}
8-
]
2+
"navigationFallback": {
3+
"rewrite": "/index.html",
4+
"exclude": [ "/api/*", "/static/*" ]
5+
}
96
}

0 commit comments

Comments
 (0)