Parcourir la source

feature: clear base.html (#13157)

factor2
Aaron van Meerten il y a 2 ans
Parent
révision
0f4af44220
Aucun compte lié à l'adresse e-mail de l'auteur
2 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 0
    1
      base.html
  2. 1
    1
      index.html

+ 0
- 1
base.html Voir le fichier

@@ -1 +0,0 @@
1
-<base href="/" />

+ 1
- 1
index.html Voir le fichier

@@ -49,7 +49,7 @@
49 49
 
50 50
             if (shouldRegisterWorker) {
51 51
                 navigator.serviceWorker
52
-                    .register(window.location.origin + contextRoot(window.location.pathname) + '/pwa-worker.js')
52
+                    .register(window.location.origin + contextRoot(window.location.pathname) + 'pwa-worker.js')
53 53
                     .then(reg => {
54 54
                         console.log('Service worker registered.', reg);
55 55
                     })

Chargement…
Annuler
Enregistrer