always refresh .json indexes, even if cached

This commit is contained in:
Jeremy Penner 2023-12-25 15:48:09 -05:00
parent e56627094e
commit 2e8961b164

View file

@ -550,7 +550,7 @@ const displayFile = async (filename, container) => {
}
const displayList = async (indexFile, containerId) => {
const response = await fetch(indexFile)
const response = await fetch(indexFile, { cache: "no-cache" })
const filenames = await response.json()
const container = document.getElementById(containerId)
for (const filename of filenames) {