Skip to content

Commit 022c0b6

Browse files
authored
fix: Avoid caching of config file (#496)
1 parent b32dba6 commit 022c0b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/renderer/utils/InstallerConfiguration.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,8 @@ export class InstallerConfiguration {
401401
}
402402

403403
private static async fetchConfigurationFromCdn(): Promise<Configuration> {
404-
const url = settings.get('mainSettings.configDownloadUrl') as string;
404+
const url = `${settings.get('mainSettings.configDownloadUrl') as string}?cache-killer=${Math.random()}`;
405+
405406
console.log('Obtaining configuration from CDN (%s)', url);
406407
return await fetch(url)
407408
.then((res) => res.blob())

0 commit comments

Comments
 (0)