diff options
author | 2019-10-18 20:09:10 +0200 | |
---|---|---|
committer | 2019-10-18 20:09:10 +0200 | |
commit | 73ecb428bb699a2dfb27f88e3d9b803c71d881b7 (patch) | |
tree | 09729d4b96f4ca947f703aeef6805388e59ee9b4 /src/features/announcements/api.js | |
parent | Fix lint (diff) | |
download | ferdium-app-73ecb428bb699a2dfb27f88e3d9b803c71d881b7.tar.gz ferdium-app-73ecb428bb699a2dfb27f88e3d9b803c71d881b7.tar.zst ferdium-app-73ecb428bb699a2dfb27f88e3d9b803c71d881b7.zip |
Always fetch announcements from Ferdi API
Diffstat (limited to 'src/features/announcements/api.js')
-rw-r--r-- | src/features/announcements/api.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/announcements/api.js b/src/features/announcements/api.js index f33980d0f..dea830d57 100644 --- a/src/features/announcements/api.js +++ b/src/features/announcements/api.js | |||
@@ -21,7 +21,7 @@ export const announcementsApi = { | |||
21 | 21 | ||
22 | async getAnnouncement(version) { | 22 | async getAnnouncement(version) { |
23 | debug('fetching release announcement from api'); | 23 | debug('fetching release announcement from api'); |
24 | const url = `${apiBase()}/announcements/${version}`; | 24 | const url = `https://api.getferdi.com/v1/announcements/${version}`; |
25 | const response = await window.fetch(url, { method: 'GET' }); | 25 | const response = await window.fetch(url, { method: 'GET' }); |
26 | if (!response.ok) return null; | 26 | if (!response.ok) return null; |
27 | return response.json(); | 27 | return response.json(); |