Skip to content

Commit

Permalink
try to enable client side routing
Browse files Browse the repository at this point in the history
Co-authored-by: Ludvig Fendert <ludvig.fendert@appliedtechnology.se>
Co-authored-by: Mathangi Pushparajah <mathangi23@outlook.com>
  • Loading branch information
3 people committed Jul 31, 2024
1 parent 48c63a7 commit 8743576
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"navigationFallback": {
"rewrite": "index.html",
"exclude": ["/assets/*", "/static/media/*.{png,jpg,jpeg,gif,bmp}", "/static/css/*"]
},
"mimeTypes": {
".json": "text/json"
} }
}

0 comments on commit 8743576

Please sign in to comment.