mirror of
https://github.com/zadam/trilium.git
synced 2026-03-24 04:40:13 +01:00
chore(server): request bootstrap with no cache
This commit is contained in:
@@ -140,7 +140,7 @@ async function refreshCsrfToken(): Promise<void> {
|
||||
|
||||
csrfRefreshInProgress = (async () => {
|
||||
try {
|
||||
const response = await fetch(`./bootstrap${window.location.search}`);
|
||||
const response = await fetch(`./bootstrap${window.location.search}`, { cache: "no-store" });
|
||||
if (response.ok) {
|
||||
const json = await response.json();
|
||||
glob.csrfToken = json.csrfToken;
|
||||
|
||||
Reference in New Issue
Block a user