this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Cache announcements

+2 -1
+2 -1
public/sw.js
··· 59 59 // - /api/v1/custom_emojis 60 60 // - /api/v1/preferences 61 61 // - /api/v1/lists/:id 62 + // - /api/v1/announcements 62 63 const apiExtendedRoute = new RegExpRoute( 63 - /^https?:\/\/[^\/]+\/api\/v\d+\/(instance|custom_emojis|preferences|lists\/\d+)$/, 64 + /^https?:\/\/[^\/]+\/api\/v\d+\/(instance|custom_emojis|preferences|lists\/\d+|announcements)$/, 64 65 new StaleWhileRevalidate({ 65 66 cacheName: 'api-extended', 66 67 plugins: [