diff --git a/server.js b/server.js index ed7c3ca..e8f8c8b 100644 --- a/server.js +++ b/server.js @@ -613,7 +613,7 @@ const server = http.createServer(async (req, res) => { 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 }); // MoonPay's Polygon page still lives at the old slug; /buy/pol renders their 404 (same fix as RM Circle) } if (p === '/api/catalog' && req.method === 'GET') { // five live quotes per call: serve a 20-second cache so pages that load the