Skip to content

Commit bfcd4b1

Browse files
committed
Cache more
1 parent 2f9daec commit bfcd4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/api/storage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async function query(
5858
throw new Error("Skip bucket check");
5959
}
6060
const fileName = apiPath.replace("?", ".").replace("&", ".");
61-
const res = await fetch(`${BUCKET_URL}${fileName}?t=${Date.now()}`, {
61+
const res = await fetch(`${BUCKET_URL}${fileName}?t=${Date.now() / 1000 / 60}`, {
6262
next: { revalidate: 0 },
6363
headers: {
6464
"Cache-Control": "no-cache",

0 commit comments

Comments
 (0)