Skip to content

Commit

Permalink
fix: Avoid caching of config file (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankkopp authored Nov 17, 2024
1 parent b32dba6 commit 022c0b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/renderer/utils/InstallerConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ export class InstallerConfiguration {
}

private static async fetchConfigurationFromCdn(): Promise<Configuration> {
const url = settings.get('mainSettings.configDownloadUrl') as string;
const url = `${settings.get('mainSettings.configDownloadUrl') as string}?cache-killer=${Math.random()}`;

console.log('Obtaining configuration from CDN (%s)', url);
return await fetch(url)
.then((res) => res.blob())
Expand Down

0 comments on commit 022c0b6

Please sign in to comment.