Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Nov 9, 2023
1 parent 0bc8c77 commit bf7ebcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BUTR.Site.NexusMods.Client/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ <h2>Loading...</h2>
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'});
}

Expand Down

0 comments on commit bf7ebcc

Please sign in to comment.