Guides (Marty approved 2026-11-17): /guides index plus How it works, Is it legit (VASShop address, Polygonscan + Sourcify, ledger, the 20/10/5x10/20 split checked on chain), Getting the most from your free account, and the FAQ (from the chatbot answers, FAQPage schema). Nav + footer links, sitemap, /how and /faq now open the guides, chatbot 'legit' and 'guides' answers + a GUIDES fact
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ async function main() {
|
||||
for (let i = 0; i < 80; i++) { try { if ((await fetch(BASE + '/health')).ok) break; } catch (e) {} await sleep(150); }
|
||||
|
||||
console.log('\n-- pages');
|
||||
for (const p of ['/', '/my', '/boost', '/rewards', '/join', '/ledger', '/contract', '/promote', '/terms', '/disclaimer', '/privacy', '/admin']) { const r = await fetch(BASE + p); const t = await r.text(); ok(r.status === 200 && !/[—–]/.test(t) && !/MetaMask/.test(t), 'page ' + p + ' 200, no dashes'); }
|
||||
for (const p of ['/', '/guides', '/guides/how-it-works', '/guides/is-it-legit', '/guides/free-account', '/guides/faq', '/my', '/boost', '/rewards', '/join', '/ledger', '/contract', '/promote', '/terms', '/disclaimer', '/privacy', '/admin']) { const r = await fetch(BASE + p); const t = await r.text(); ok(r.status === 200 && !/[—–]/.test(t) && !/MetaMask/.test(t), 'page ' + p + ' 200, no dashes'); }
|
||||
const cfg = await (await fetch(BASE + '/api/config')).json();
|
||||
ok(cfg.split.resharerBps === 2000 && cfg.split.live === true && cfg.reward.cents === 25, 'config reads the live split from the contract', cfg.split);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user