Link domains are never curtained: spin links redirect and the mini-sites answer while linkspin.app stays covered (Marty wants to test traffic before launch)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-07 16:24:26 -05:00
parent f26b3d6391
commit 27b3727a9f
+1
View File
@@ -856,6 +856,7 @@ const CURTAIN_PAGE = `<!doctype html><html lang="en"><head><meta charset="utf-8"
function curtained(req, res, u) {
if (!CURTAIN) return false;
if (isLinkHost(req)) return false; // the short link domains stay public: spin links must redirect and the mini-site must answer while the main site is covered (Marty 2026-10-07: test traffic before launch)
if (u.searchParams.get('k') === CURTAIN) {
u.searchParams.delete('k');
res.writeHead(302, {