diff --git a/admin.html b/admin.html index 95107ae..61f63e2 100644 --- a/admin.html +++ b/admin.html @@ -470,7 +470,7 @@ async function openImportFromChapter() { for (const ch of chapters) { if (activeChapter && ch.name === activeChapter.code) continue; try { - const cfgRes = await fetch(giteaUrl(`chapters/${ch.name}/config.json`)); + const cfgRes = await fetch(giteaUrl(`chapters/${ch.name}/config.json`), { cache: 'no-store' }); const cfg = cfgRes.ok ? await cfgRes.json() : {}; const btn = document.createElement('div'); btn.className = 'chapter-item'; @@ -739,7 +739,7 @@ async function loadAllChapters() { container.innerHTML = ''; for (const ch of chapters) { try { - const cfgRes = await fetch(giteaUrl(`chapters/${ch.name}/config.json`)); + const cfgRes = await fetch(giteaUrl(`chapters/${ch.name}/config.json`), { cache: 'no-store' }); const cfg = cfgRes.ok ? await cfgRes.json() : {}; const membersRes = await fetch(giteaUrl(`chapters/${ch.name}/members.json`)); const membersData = membersRes.ok ? await membersRes.json() : {};