mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 22:29:28 +09:00
* Update index.ts
* fix sw.js path
* Revert "Update index.ts"
This reverts commit e0b1d4239f
.
This commit is contained in:
parent
11afa8140c
commit
00bb403497
@ -365,7 +365,7 @@ export default class MiOS extends EventEmitter {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// The path of service worker script
|
// The path of service worker script
|
||||||
const sw = `/sw.${version}.${lang}.js`;
|
const sw = `/sw.${version}.js`;
|
||||||
|
|
||||||
// Register service worker
|
// Register service worker
|
||||||
navigator.serviceWorker.register(sw).then(registration => {
|
navigator.serviceWorker.register(sw).then(registration => {
|
||||||
|
Loading…
Reference in New Issue
Block a user