In the wise words of @riftriot 'GUH'
This commit is contained in:
parent
19635704c8
commit
b4dba4d5bb
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ export function Home() {
|
|||
const firstLoad = localStorage.getItem("firstLoad") || "true";
|
||||
console.log(firstLoad);
|
||||
//make sure service workers are updated
|
||||
updateServiceWorkers();
|
||||
//updateServiceWorkers();
|
||||
//make sure transport is set
|
||||
//setTransport();
|
||||
if (firstLoad == "true" && prod) {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ export default function Routes() {
|
|||
setTransport();
|
||||
});
|
||||
navigator.serviceWorker.register("/sw.js", {
|
||||
scope: "/~/"
|
||||
scope: "/"
|
||||
});
|
||||
}
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue