mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
This commit is contained in:
parent
3a362fd174
commit
6b9f78f077
2 changed files with 1 additions and 1 deletions
|
@ -1691,7 +1691,7 @@ function avideoAjax(url, data) {
|
||||||
// Register service worker to control making site work offline
|
// Register service worker to control making site work offline
|
||||||
if ('serviceWorker' in navigator) {
|
if ('serviceWorker' in navigator) {
|
||||||
navigator.serviceWorker
|
navigator.serviceWorker
|
||||||
.register(webSiteRootURL + 'view/js/sw.js')
|
.register(webSiteRootURL + 'sw.js')
|
||||||
.then(() => {
|
.then(() => {
|
||||||
console.log('Service Worker Registered');
|
console.log('Service Worker Registered');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue