In the wise words of @riftriot 'GUH'

This commit is contained in:
MotorTruck1221 2024-04-17 08:56:15 -06:00
parent 19635704c8
commit b4dba4d5bb
No known key found for this signature in database
GPG key ID: 08F417E2B8B61EA4
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ export function Home() {
const firstLoad = localStorage.getItem("firstLoad") || "true"; const firstLoad = localStorage.getItem("firstLoad") || "true";
console.log(firstLoad); console.log(firstLoad);
//make sure service workers are updated //make sure service workers are updated
updateServiceWorkers(); //updateServiceWorkers();
//make sure transport is set //make sure transport is set
//setTransport(); //setTransport();
if (firstLoad == "true" && prod) { if (firstLoad == "true" && prod) {

View file

@ -24,7 +24,7 @@ export default function Routes() {
setTransport(); setTransport();
}); });
navigator.serviceWorker.register("/sw.js", { navigator.serviceWorker.register("/sw.js", {
scope: "/~/" scope: "/"
}); });
} }
return ( return (