Network ad zones (punch list, Marty 2026-11-17): LinkSpin zones on Marty's account made through LinkSpin's admin zone route (footer wide 728x90, footer phone 320x50, ledger 468x60, not-found 300x250), the ViralAdBlitz pattern; common.js ?v=20261117z
Zones: ls-2b9438 / ls-df436d / ls-c469a6 / 404 ls-4108d7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -550,7 +550,7 @@ const server = http.createServer(async (req, res) => {
|
||||
|
||||
if (p.startsWith('/api/')) return json(res, 404, { error: 'Not found' });
|
||||
res.writeHead(404, headers({ 'Content-Type': 'text/html; charset=utf-8' }));
|
||||
return res.end('<!doctype html><meta name="viewport" content="width=device-width,initial-scale=1"><title>Not found | ViralAdSource</title><body style="background:#EAF6F4;color:#0B2730;font-family:\'IBM Plex Sans\',system-ui,sans-serif;text-align:center;padding:40px 16px"><p style="font-size:22px;font-weight:700">This stream ran dry.</p><p><a style="color:#C4371B;font-weight:700" href="/">Back to the source</a></p></body>');
|
||||
return res.end('<!doctype html><meta name="viewport" content="width=device-width,initial-scale=1"><title>Not found | ViralAdSource</title><body style="background:#EAF6F4;color:#0B2730;font-family:\'IBM Plex Sans\',system-ui,sans-serif;text-align:center;padding:40px 16px"><p style="font-size:22px;font-weight:700">This stream ran dry.</p><p><a style="color:#C4371B;font-weight:700" href="/">Back to the source</a></p><p style="font-size:11px;margin:24px 0 4px;opacity:.7">Network</p><script async src="https://linkspin.app/z.js" data-zone="ls-4108d7"></script></body>');
|
||||
} catch (e) {
|
||||
console.error('request', p, e.message);
|
||||
if (!res.headersSent) json(res, 500, { error: 'Server error' });
|
||||
|
||||
Reference in New Issue
Block a user