Site host from one module: host.js exports SITE_HOST/SITE_URL and every module, email, Telegram post, QR, ad click URL and OG tag reads it (no more hard-coded test hostname); public pages carry {{SITE_URL}} filled at serve time; frame check carries the curtain pass for our own hosts so a test ad can point at a spin link; stale IAP sitemap removed

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-07 08:52:04 -05:00
parent 6da444c790
commit ad744d8c0f
29 changed files with 135 additions and 111 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
// Release notes + roadmap (Marty, 2026-09-14): what shipped and what is coming, written in Admin > Releases,
// shown on the public /whats-new page and in a "What's new" card on every member's Overview.
// Storage: DATA_DIR/releases.json { notes: [{id, date, title, body, tags[]}], roadmap: [{id, title, note, status, eta}] }
const { SITE_URL } = require('./host');
const fs = require('fs');
const path = require('path');
let FILE = null;
const SITE = 'https://linkspin-test.saasy.top';
const SITE = SITE_URL;
const TAGS = ['new', 'improved', 'fixed'];
const STATUSES = ['planned', 'building', 'done'];
const esc = s => String(s == null ? '' : s).replace(/[&<>"]/g, c => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;' }[c]));