Disable Service Worker root scoping until #107 is resolved
This commit is contained in:
parent
ebfde59120
commit
ee58335112
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,8 @@ export function register(config?: Config) {
|
|||
function registerValidSW(swUrl: string, config?: Config) {
|
||||
navigator.serviceWorker
|
||||
.register(swUrl, {
|
||||
scope: "/"
|
||||
// TODO: disabled until #107 is resolved
|
||||
// scope: "/"
|
||||
})
|
||||
.then((registration) => {
|
||||
registration.onupdatefound = () => {
|
||||
|
|
Loading…
Reference in a new issue