add home.html to service worker

This commit is contained in:
MathMan05 2025-05-14 11:17:09 -05:00
parent a68fdd8f47
commit 4578ff866f

View file

@ -73,6 +73,8 @@ function toPath(url: string): string {
html = "./invite.html";
} else if (path.startsWith("/template/") || path === "/template") {
html = "./template.html";
} else if (path === "/") {
html = "./home.html";
}
}
return html || Url.pathname;