ad744d8c0f
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
8 lines
630 B
JavaScript
8 lines
630 B
JavaScript
// The one place the site knows its own address. SITE_HOST comes from the environment (Coolify sets it per
|
|
// deployment: linkspin-test.saasy.top on the test app, linkspin.app in production). Every module that writes a
|
|
// link into an email, a Telegram post, a QR code, an ad click URL or an OG tag reads it from here, so a fork or a
|
|
// domain move is an env change, never a search-and-replace (2026-10-07: the first brand fork left ~90 literals).
|
|
const SITE_HOST = String(process.env.SITE_HOST || 'linkspin-test.saasy.top').trim().toLowerCase();
|
|
const SITE_URL = 'https://' + SITE_HOST;
|
|
module.exports = { SITE_HOST, SITE_URL };
|