Skip to content

Commit

Permalink
Create staticwebapp.config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jessieyyt authored Dec 27, 2024
1 parent 2fc6c7b commit 917edd2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"navigationFallback": {
"rewrite": "/index.html"
},
"routes": [
{
"route": "/*",
"allowedRoles": [ "authenticated" ]
}
],
"responseOverrides": {
"401": {
"statusCode": 302,
"redirect": "/.auth/login/aad"
}
}
}

0 comments on commit 917edd2

Please sign in to comment.