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:
@@ -1,13 +1,14 @@
|
||||
// Public blog (Marty, 2026-09-12): coaching and teaching articles on linkspin-test.saasy.top, written in
|
||||
// Public blog (Marty, 2026-09-12): coaching and teaching articles on the site host, written in
|
||||
// Admin > Blog, server-rendered so crawlers see real HTML with real metadata. Storage: MySQL
|
||||
// blog_posts, or DATA_DIR/blog.json. Public: /blog (paged index), /blog/<slug>, /blog/feed.xml,
|
||||
// /sitemap.xml, /robots.txt. SEO per post: title, description, canonical, Open Graph, Twitter
|
||||
// card, article dates, BlogPosting JSON-LD, breadcrumb JSON-LD, internal links, related posts.
|
||||
const { SITE_URL } = require('./host');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const db = require('./db');
|
||||
let DATA_DIR = null;
|
||||
const SITE = 'https://linkspin-test.saasy.top';
|
||||
const SITE = SITE_URL;
|
||||
const AUTHOR = 'Marty Bostick';
|
||||
const PER_PAGE = 10;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user