Change changelog fetch URL

This commit is contained in:
Gregory Schier committed 2017-08-02 13:38:40 -07:00
1 parent 319b947922
commit d4f6044779
1 file changed
+2 -1
+2 -1
View File
@@ -36,7 +36,8 @@ class ChangelogModal extends PureComponent {
let changelog;
try {
// TODO: Implement release channels
const response = await window.fetch(`${CHANGELOG_URL}?channel=stable`);
// NOTE: We add current version to break CDN cache
const response = await window.fetch(`${CHANGELOG_URL}?v=${getAppVersion()}&channel=stable`);
changelog = await response.json();
} catch (e) {
console.warn('Failed to fetch changelog', e);