Pages: bridge, review and squeeze pages from a scan plus an angle; parse-or-refuse forms; member-owned leads with CSV; served at /p/<slug> on every domain under a real CSP; lead event on the postback rails

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-29 16:06:11 -05:00
parent 8e1ddb892f
commit 53f5d51821
9 changed files with 459 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const J = { db: null, FILE: () => path.join(DATA_DIR, 'postbacks.json'),
save() { try { fs.writeFileSync(this.FILE(), JSON.stringify(this.db)); } catch (e) {} } };
function init(opts) { DATA_DIR = opts.dataDir; ownHosts = opts.ownHosts || (() => []); rotator = opts.rotator; J.load(); }
const norm = e => String(e || '').trim().toLowerCase();
const EVENTS = ['join', 'wallet', 'purchase', 'external'];
const EVENTS = ['join', 'lead', 'wallet', 'purchase', 'external'];
const MACRO = /\{([a-z0-9_]{1,24})\}/gi;
function isPrivateIp(ip) {