diff --git a/server/index.js b/server/index.js index 19a046e..e2c17b9 100644 --- a/server/index.js +++ b/server/index.js @@ -216,7 +216,7 @@ const server = http.createServer(async (req, res) => { } if (p === '/api/hub/refresh' && req.method === 'POST') { const [up, ann, beat] = await Promise.all([hubCheckUpdate(true), hubAnnouncements(true), hubHeartbeat(true)]); - return send(res, 200, { ok: true, version: APP_VERSION, update: up, announcements: (ann && ann.list) || [], heartbeat: beat }); + return send(res, 200, { ok: true, version: APP_VERSION, update: up, announcements: (ann && ann.list) || [], popup: (ann && ann.popup) || [], heartbeat: beat }); } // ---------- API ---------- diff --git a/src/views/home/components/top/index.vue b/src/views/home/components/top/index.vue index 7f3d5f0..11c6d24 100644 --- a/src/views/home/components/top/index.vue +++ b/src/views/home/components/top/index.vue @@ -24,9 +24,6 @@
- - vue-fbric-editor - @@ -40,7 +37,6 @@