This commit is contained in:
Pig Fang 2023-01-25 11:48:46 +08:00
parent 82dd87703f
commit 0b516d02c5
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2
3 changed files with 0 additions and 6 deletions

View File

@ -7,7 +7,6 @@
coverage/
node_modules/
plugins/**
public/sw.js
public/meta.js
public/app/*
public/lang/*

1
.gitignore vendored
View File

@ -25,5 +25,4 @@ storage/options.php
.phpunit.result.cache
.php-cs-fixer.cache
resources/views/overrides
public/sw.js
public/meta.js

View File

@ -2,8 +2,4 @@ const blessingElement = document.querySelector('#blessing-globals')!
// @ts-ignore
window.blessing = JSON.parse(blessingElement.textContent!)
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js?v6')
})
export {}