mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-26 08:38:58 -04:00
Change changelog fetch URL
This commit is contained in:
1 parent
319b947922
commit
d4f6044779
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user