Skip to content

Commit

Permalink
fix: S3 force download latest version without caching the request (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox authored Jan 23, 2025
1 parent 043148b commit 7e50e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preload/src/s3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getOSName } from './ipc';

export async function fetchExplorerLatestRelease() {
try {
const response = await fetch(`${getBucketURL()}/${RELEASE_PREFIX}/latest.json`);
const response = await fetch(`${getBucketURL()}/${RELEASE_PREFIX}/latest.json?_t=${Date.now()}`);
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
Expand Down

0 comments on commit 7e50e7a

Please sign in to comment.