Serve Dock directly and add explicit navigation feedback
This commit is contained in:
1 parent
645afe3ebf
commit
84c4b3030a
77 files changed
+477
-920
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user