gitea/templates/pwa
silverwind 99d9b0f728
Move serviceworker to workbox and fix SSE interference
Instead of statically hardcoding every frontend asset, this uses a
type-based approach to cache all js,css and manifest.json requests.

This also fixes the issue that the service worker was interfering with
EventSource because it was unconditionally handling all requests which
this new implementation doesn't.

Fixes: https://github.com/go-gitea/gitea/issues/11092
Fixes: https://github.com/go-gitea/gitea/issues/7372
2020-05-21 23:27:26 +02:00
..
manifest_json.tmpl [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00