mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
* Update index.ts * fix sw.js path * Revert "Update index.ts" This reverts commit e0b1d4239f16b65512f5dbdd93c8765f708b5282.
This commit is contained in:
parent
ec408e52ae
commit
32e8902343
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ export default class MiOS extends EventEmitter {
|
|||
});
|
||||
|
||||
// The path of service worker script
|
||||
const sw = `/sw.${version}.${lang}.js`;
|
||||
const sw = `/sw.${version}.js`;
|
||||
|
||||
// Register service worker
|
||||
navigator.serviceWorker.register(sw).then(registration => {
|
||||
|
|
Loading…
Reference in a new issue