Skip to content

Commit

Permalink
Avoid caching of config file
Browse files Browse the repository at this point in the history
  • Loading branch information
frankkopp committed Nov 15, 2024
1 parent 680d4de commit 2953563
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 2953563

Please sign in to comment.