bench-forgejo/web_src
silverwind 8ab815ae93
Unregister non-matching serviceworkers (#15834)
* Unregister non-matching serviceworkers

With the addition of the /assets url, users who visited a previous
version of the site now may have two active service workers, one with
the old scope `/` and one with scope `/assets`. This check for
serviceworkers that do not match the current script path and unregisters
them.

Also included is a small refactor to publicpath.js which was simplified
because AssetUrlPrefix is always present now. Also it makes use of the
new joinPaths helper too.

Fixes: https://github.com/go-gitea/gitea/pull/15823
2021-05-12 20:36:53 +02:00
..
fomantic Stop packaging node_modules in release tarballs (#15273) 2021-04-09 01:08:14 -04:00
js Unregister non-matching serviceworkers (#15834) 2021-05-12 20:36:53 +02:00
less Reaction improvements (#15836) 2021-05-12 07:16:22 +01:00
svg use gogs.ico to create a better svg for migration page (#14795) 2021-02-25 14:13:44 +08:00