From 4578ff866fcf95a47001386b7215d0d81b0e85b1 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Wed, 14 May 2025 11:17:09 -0500 Subject: [PATCH] add home.html to service worker --- src/webpage/service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/webpage/service.ts b/src/webpage/service.ts index 2c11499..da8d5cf 100644 --- a/src/webpage/service.ts +++ b/src/webpage/service.ts @@ -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;