Serve Dock directly and add explicit navigation feedback

This commit is contained in:
SantaSpeen committed 2026-11-30 21:12:40 +03:00
1 parent 645afe3ebf
commit 84c4b3030a
77 files changed
+477 -920

No files matched your search

+2 -1
View File
@@ -78,7 +78,8 @@ for (const file of [
"playground/frame.html",
"components/system.css",
"playground/frame.js",
"playground/gallery.js",
"index.html",
"components/export-system.js",
])
assert.ok((await readFile(file, "utf8")).length > 100);
console.log(
-5
View File
@@ -18,11 +18,6 @@ http
const pathname = decodeURIComponent(
new URL(req.url, "http://localhost").pathname,
);
if (pathname === "/") {
res.writeHead(302, { Location: "/playground/" });
res.end();
return;
}
const file = path.resolve(
root,
"." + (pathname.endsWith("/") ? pathname + "index.html" : pathname),