浏览代码

feature: clear base.html (#13157)

factor2
Aaron van Meerten 2 年前
父节点
当前提交
0f4af44220
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0
    1
      base.html
  2. 1
    1
      index.html

+ 0
- 1
base.html 查看文件

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

+ 1
- 1
index.html 查看文件

@@ -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
                     })

正在加载...
取消
保存