SW fix
This commit is contained in:
@@ -71,6 +71,8 @@ function toPath(url: string): string {
|
|||||||
html = "./index.html";
|
html = "./index.html";
|
||||||
} else if (path.startsWith("/invite/") || path === "/invite") {
|
} else if (path.startsWith("/invite/") || path === "/invite") {
|
||||||
html = "./invite.html";
|
html = "./invite.html";
|
||||||
|
} else if (path.startsWith("/template/") || path === "/template") {
|
||||||
|
html = "./template.html";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return html || Url.pathname;
|
return html || Url.pathname;
|
||||||
|
Reference in New Issue
Block a user