mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-16 21:10:02 -04:00
Merge pull request #249 from MotorTruck1221/mental-breakdown
Mental breakdown (Fix Bare Clients 😭)
This commit is contained in:
commit
d3d4736bae
7 changed files with 334 additions and 334 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
Add a link
Reference in a new issue