diff --git a/staticwebapp.config.json b/staticwebapp.config.json
index 4c59529eddbe9f1a569dd3558b26a82d93ecfd75..da2b472f07190478a16637b5edfb92d8addf96ff 100644
--- a/staticwebapp.config.json
+++ b/staticwebapp.config.json
@@ -1,16 +1,18 @@
{
"navigationFallback": {
- "rewrite": "wwwroot/index.html",
+ "rewrite": "/index.html",
"exclude": ["/images/*.{png,jpg,gif}", "/css/*", "/js/*"]
},
"routes": [
{
"route": "/*",
- "serve": "/wwwroot/index.html",
+ "serve": "/index.html",
"statusCode": 200
}
],
"mimeTypes": {
- "customMimeType": "text/html"
+ ".css": "text/css",
+ ".js": "application/javascript",
+ ".json": "application/json"
}
-}
+}
\ No newline at end of file