add home.html to service worker
This commit is contained in:
parent
a68fdd8f47
commit
4578ff866f
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue