mirror of
https://github.com/titaniumnetwork-dev/Ultraviolet.git
synced 2025-05-16 04:50:01 -04:00
uv
This commit is contained in:
parent
b9b6aee734
commit
82f5f76588
66 changed files with 74967 additions and 1 deletions
8
server/v1/test/static/script.js
Normal file
8
server/v1/test/static/script.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('/sw.js', {
|
||||
scope: '/'
|
||||
});
|
||||
navigator.serviceWorker.ready.then(() => {
|
||||
location.reload()
|
||||
})
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue