diff --git a/ZeroSpace.Web/wwwroot/staticwebapp.config.json b/ZeroSpace.Web/wwwroot/staticwebapp.config.json new file mode 100644 index 0000000..8302354 --- /dev/null +++ b/ZeroSpace.Web/wwwroot/staticwebapp.config.json @@ -0,0 +1,19 @@ +{ + "routes": [ + { + "route": "/index.html", + "headers": { + "Cache-Control": "no-cache" + } + }, + { + "route": "/_framework/*", + "headers": { + "Cache-Control": "public, max-age=31536000, immutable" + } + } + ], + "navigationFallback": { + "rewrite": "/index.html" + } +}