feature: clear base.html (#13157)

This commit is contained in:
Aaron van Meerten
2023-04-03 10:12:05 -05:00
committed by GitHub
parent 78bdbe2c3f
commit 0f4af44220
2 changed files with 1 additions and 2 deletions

View File

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

View File

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