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:
martbost
2026-11-17 08:26:34 -06:00
parent 13255c6fda
commit 482ecc62c9
9 changed files with 241 additions and 8 deletions
+1 -1
View File
@@ -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);