MoonPay links: /buy/pol is a soft-404 - switch to the live /buy/matic page (POL's old-name slug) + copy note that MATIC is POL's former name

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-08-19 14:11:07 -05:00
parent 9a1833f2b0
commit dd6644bc3b
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -487,7 +487,7 @@ async function handleApi(req,res,pathname){
const sig=crypto.createHmac('sha256',sk).update(qs).digest('base64');
return json(res,200,{url:'https://buy.moonpay.com/'+qs+'&signature='+encodeURIComponent(sig),signed:true,pol});
}
return json(res,200,{url:'https://www.moonpay.com/buy/pol',signed:false,pol});
return json(res,200,{url:'https://www.moonpay.com/buy/matic',signed:false,pol});
}
// ---- wallet-verified member messaging ----
if(req.method==='POST'&&pathname==='/api/public/msg-challenge'){