From 4bef1c7984ccb5b54009eb664a35eaebdf4e6a37 Mon Sep 17 00:00:00 2001 From: Adiv <asifadiv@gmail.com> Date: Mon, 8 May 2023 03:58:15 +0100 Subject: [PATCH] added config json --- staticwebapp.config.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 staticwebapp.config.json diff --git a/staticwebapp.config.json b/staticwebapp.config.json new file mode 100644 index 0000000..4c59529 --- /dev/null +++ b/staticwebapp.config.json @@ -0,0 +1,16 @@ +{ + "navigationFallback": { + "rewrite": "wwwroot/index.html", + "exclude": ["/images/*.{png,jpg,gif}", "/css/*", "/js/*"] + }, + "routes": [ + { + "route": "/*", + "serve": "/wwwroot/index.html", + "statusCode": 200 + } + ], + "mimeTypes": { + "customMimeType": "text/html" + } +} -- GitLab