From 06f2665809fbf5dcc65dcd63aa98be93cf3023b8 Mon Sep 17 00:00:00 2001 From: martbost Date: Mon, 12 Oct 2026 13:45:48 -0500 Subject: [PATCH] PolyWarriors pass mint: visible 'Minting now' hand-back page with a Back to PolyWarriors button and a 2 s auto-return (a silent redirect chain left Zachary's iPad on the mint form) Co-Authored-By: Claude Fable 5.1 --- server.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/server.js b/server.js index 8f3bf81..e735ecf 100644 --- a/server.js +++ b/server.js @@ -1327,9 +1327,9 @@ function gkOpen(token) { } const gkOrders = persistedMap('gkorders'); // order -> { status: 'paying'|'paid', email, campaignId, ts } const gkEsc = s => String(s == null ? '' : s).replace(/[&<>"]/g, ch => ({ '&': '&', '<': '<', '>': '>', '"': '"' }[ch])); -function gkPage(res, code, title, inner) { +function gkPage(res, code, title, inner, head) { res.writeHead(code, baseHeaders({ 'Content-Type': 'text/html; charset=utf-8', 'Cache-Control': 'no-store' })); - res.end('' + gkEsc(title) + ' | InstantAdPay' + res.end('' + gkEsc(title) + ' | InstantAdPay' + (head || '') + '