diff --git a/src/Umbraco.Web.UI.Client/staticwebapp.config.json b/src/Umbraco.Web.UI.Client/staticwebapp.config.json index 5e5cb461a1..d08bfb5cc1 100644 --- a/src/Umbraco.Web.UI.Client/staticwebapp.config.json +++ b/src/Umbraco.Web.UI.Client/staticwebapp.config.json @@ -1,9 +1,10 @@ { - "routes": [ - { - "route": "/*", - "rewrite": "/index.html" - } - ], + "navigationFallback": { + "rewrite": "/index.html", + "exclude": [ + "*.{jpg,jpeg,gif,png,svg}", + "/assets/*" + ] + }, "trailingSlash": "never" } \ No newline at end of file