Unlisted /plan-lab: Reach Ladder simulator for the planning group

The working simulator for the new matrix plan, served by link only
(noindex, no menu entry, no sitemap). Engine in /assets/plan-lab.js because
the CSP blocks inline scripts.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-27 12:38:43 -05:00
parent 7ef8094a4d
commit a2d5706d8e
3 changed files with 866 additions and 1 deletions
+3 -1
View File
@@ -3448,7 +3448,9 @@ const server = http.createServer(async (req, res) => {
return res.end(blog.renderPost(post, related));
}
if (p === '/wallets') return sendFile(res, path.join(PUBLIC_DIR, 'wallets.html'));
if (p === '/friday') return sendFile(res, path.join(PUBLIC_DIR, 'friday.html')); // Five Dollar Friday bridge page: ?ref= works like any page (Marty, 2026-09-25)
if (p === '/friday') return sendFile(res, path.join(PUBLIC_DIR, 'friday.html'));
if (p === '/plan-lab') return sendFile(res, path.join(PUBLIC_DIR, 'plan-lab.html'), { 'X-Robots-Tag': 'noindex, nofollow' }); // Reach Ladder simulator for Marty's planning group: unlisted, shared by link (2026-09-27)
if (p === '/plan-lab') return sendFile(res, path.join(PUBLIC_DIR, 'plan-lab.html')); // Reach Ladder simulator for Marty's planning group: unlisted, shared by link (2026-09-27) // Five Dollar Friday bridge page: ?ref= works like any page (Marty, 2026-09-25)
if (p === '/launch') return sendFile(res, path.join(PUBLIC_DIR, 'launch.html'));
if (/^\/view\/[a-f0-9]{32}$/.test(p)) return sendFile(res, path.join(PUBLIC_DIR, 'view.html'));
m = /^\/uploads\/([a-z0-9]{24}\.(?:png|jpg|webp|gif|mp4|webm))$/.exec(p);