Skip to content

Commit

Permalink
fix: potential cache corruption
Browse files Browse the repository at this point in the history
  • Loading branch information
vcheckzen committed Oct 28, 2024
1 parent dbb07bc commit 644d92a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions front-end/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1645,11 +1645,8 @@

loadedPages.files = loadedPages.files.concat(data.files);
loadedPages.skipToken = data.skipToken;
window.fileCache.set(
window.backForwardCache.current,
loadedPages
);
renderPage(loadedPages, null, true);
window.fileCache.set(loadedPages.parent, loadedPages);
renderPage(null, loadedPages, true);
isRequestInProgress = false;
},
fallback
Expand Down Expand Up @@ -1897,7 +1894,7 @@
window.api.url,
window.api.formatPayload(
path,
window.fileCache.get(`${path}/.password`),
window.fileCache.get(`${path}/.password`)
// Orderby is not working, do not send it.
// { orderby: orderby }
),
Expand Down

0 comments on commit 644d92a

Please sign in to comment.