mirror of
https://github.com/zadam/trilium.git
synced 2026-03-21 07:43:38 +01:00
chore(server): request bootstrap with no cache
This commit is contained in:
parent
53739ee8d4
commit
7a544482d1
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user