Network line: game is part of the InstantAdPay network, the Polygon wing of the Crypto Team Build Network (linked to cryptoteambuild.com, new tab)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -222,7 +222,7 @@ const server = http.createServer(async (req, res) => {
|
||||
if (mr && /TelegramBot|facebookexternalhit|Facebot|Twitterbot|WhatsApp|Slackbot|Discordbot|LinkedInBot|SkypeUriPreview|redditbot|Iframely|Embedly|vkShare|Pinterest|Googlebot|bingbot/i.test(String(req.headers['user-agent'] || ''))) {
|
||||
const sh = game.byUsername(mr[1]); const nm = sh ? sh.username : null; const card = SITE + '/r/' + encodeURIComponent(mr[1]) + '/card.jpg';
|
||||
const t = nm ? '@' + nm + ' invited you to Drip Runner' : 'Drip Runner: hop the network, get paid in POL';
|
||||
const d = 'A fast little runner game in the InstantAdPay network. Play free, clear chapters and collect POL rewards.';
|
||||
const d = 'A fast little runner game in the InstantAdPay network, part of the Crypto Team Build Network. Play free, clear chapters and collect POL rewards.';
|
||||
res.writeHead(200, Object.assign({ 'Content-Type': 'text/html; charset=utf-8', 'Cache-Control': 'no-store' }, SEC));
|
||||
return res.end('<!doctype html><html><head><meta charset="utf-8"><title>' + esc(t) + '</title><meta name="description" content="' + esc(d) + '"><meta property="og:type" content="website"><meta property="og:site_name" content="Drip Runner"><meta property="og:url" content="' + esc(SITE + '/r/' + mr[1]) + '"><meta property="og:title" content="' + esc(t) + '"><meta property="og:description" content="' + esc(d) + '"><meta property="og:image" content="' + esc(nm ? card : SITE + '/og-driprunner.jpg') + '"><meta property="og:image:width" content="' + (nm ? 1080 : 1200) + '"><meta property="og:image:height" content="' + (nm ? 1080 : 630) + '"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="' + esc(t) + '"><meta name="twitter:image" content="' + esc(nm ? card : SITE + '/og-driprunner.jpg') + '"></head><body><a href="/play">Play Drip Runner</a></body></html>');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user