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

-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),