From bf7ebccef7dbd356a1b7793f23b3fb9062276cc0 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 9 Nov 2023 22:53:41 +0200 Subject: [PATCH] fix --- src/BUTR.Site.NexusMods.Client/wwwroot/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BUTR.Site.NexusMods.Client/wwwroot/index.html b/src/BUTR.Site.NexusMods.Client/wwwroot/index.html index 1b182bf5..0ee16a98 100644 --- a/src/BUTR.Site.NexusMods.Client/wwwroot/index.html +++ b/src/BUTR.Site.NexusMods.Client/wwwroot/index.html @@ -58,7 +58,8 @@

Loading...

totalCount++; return (async function () { - if (name === "blazor.boot.json" || (name.startsWith("appsettings") && name.endsWith(".json"))){ + const filename = name.substring(name.lastIndexOf('/') + 1); + if (filename === "blazor.boot.json" || (filename.startsWith("appsettings") && filename.endsWith(".json"))){ return await fetch(defaultUri, {cache: 'no-cache'}); }