work in boot/install url using updated service worker

This commit is contained in:
Stewart Allen 2025-10-11 22:17:42 -04:00
commit 98f9082bc3
4 changed files with 99 additions and 3 deletions

2
app.js
View file

@ -122,6 +122,7 @@ function init(mod) {
mod.add(serveWasm);
mod.add(serveCode);
mod.add(fullpath({
"/boot" : redir((pre??"") + "/boot/", 301),
"/kiri" : redir((pre??"") + "/kiri/", 301),
"/mesh" : redir((pre??"") + "/mesh/", 301),
"/meta" : redir((pre??"") + "/meta/", 301),
@ -147,6 +148,7 @@ function init(mod) {
mod.static("/mesh/", "web/mesh");
mod.static("/moto/", "web/moto");
mod.static("/kiri/", "web/kiri");
mod.static("/boot/", "web/boot");
// module loader
function load_modules(root, force) {