1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00

Add basic PWA offline page

- Remove feed_icons cache because it's causing more problems that it solve.
- Add basic offline mode when using the service worker.
- Starting in Chrome 93, offline mode is going to be a requirement to install the PWA.

https://developer.chrome.com/blog/improved-pwa-offline-detection/#enforcement-starting-chrome-93-august-2021
This commit is contained in:
Frédéric Guillot 2021-03-07 15:25:34 -08:00 committed by fguillot
parent ae13b4e420
commit 8a812cd8ec
20 changed files with 141 additions and 14 deletions

View file

@ -142,7 +142,8 @@ func (m *middleware) isPublicRoute(r *http.Request) bool {
"webManifest",
"robots",
"sharedEntry",
"healthcheck":
"healthcheck",
"offline":
return true
default:
return false