mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-07 06:06:40 +00:00
Revert "feat: Making Quartz available offline by making it a PWA (#465)"
This reverts commit d6301fae90
.
This commit is contained in:
parent
70e029d151
commit
6a9e6352e8
13 changed files with 6 additions and 235 deletions
quartz/plugins/emitters
|
@ -116,11 +116,6 @@ function addGlobalPageResources(
|
|||
document.dispatchEvent(event)`)
|
||||
}
|
||||
|
||||
componentResources.afterDOMLoaded.push(`
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('/sw.js');
|
||||
}`)
|
||||
|
||||
let wsUrl = `ws://localhost:${ctx.argv.wsPort}`
|
||||
|
||||
if (ctx.argv.remoteDevHost) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue