Code pill on mission sites: the glass Polygon coin from the hero replaces the purple dot; coin PNGs pass the curtain

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-19 18:37:14 -05:00
parent bac6110fad
commit 6e2b5b7dc5
4 changed files with 3 additions and 1 deletions
+2
View File
@@ -92,6 +92,8 @@ const server = http.createServer(async (req, res) => {
return json(res, r.error ? 403 : 200, r, cors);
}
if (p === '/embed.js') return sendFile(res, path.join(PUBLIC_DIR, 'embed.js'), { 'Cache-Control': 'public, max-age=300', 'Access-Control-Allow-Origin': '*' });
// the coin on the code pill, fetched by mission-site visitors who hold no curtain pass
if (p === '/img/coin-sm.png' || p === '/img/coin.png') return sendFile(res, path.join(PUBLIC_DIR, p.slice(1)), { 'Cache-Control': 'public, max-age=86400' });
if (curtained(req, res, u)) return;