feedback5 R1: docs and comments follow the split — DESIGN §2 layout lists server/http/, the README table names the entry and http/, path comments in shared/media.js, public/js/media.js, buildGuard.js, net.js and three tests point at the new modules; .git-blame-ignore-revs lists the pure-move commit

This commit is contained in:
sganggs committed 2026-10-05 16:11:30 +08:00
1 parent 1b38e30819
commit 5f0830cdc5
10 files changed
+29 -11

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ function walk(dir, ext, out = []) {
return out;
}
/** URL path served by the server → file on disk (mirrors server/index.js mounts). */
/** URL path served by the server → file on disk (mirrors the server/http/static.js mounts). */
function urlPathToFile(urlPath) {
const clean = decodeURIComponent(urlPath.split(/[?#]/)[0]);
if (clean.startsWith('/shared/')) return path.join(ROOT, clean);