Skip to content

Commit 7e50e7a

Browse files
authored
fix: S3 force download latest version without caching the request (#97)
1 parent 043148b commit 7e50e7a

File tree

1 file changed

+1
-1
lines changed
  • packages/preload/src

1 file changed

+1
-1
lines changed

packages/preload/src/s3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getOSName } from './ipc';
33

44
export async function fetchExplorerLatestRelease() {
55
try {
6-
const response = await fetch(`${getBucketURL()}/${RELEASE_PREFIX}/latest.json`);
6+
const response = await fetch(`${getBucketURL()}/${RELEASE_PREFIX}/latest.json?_t=${Date.now()}`);
77
if (!response.ok) {
88
throw new Error(`HTTP error! status: ${response.status}`);
99
}

0 commit comments

Comments
 (0)