From 74657f878c6da68713b0eb762ab205c56eec806e Mon Sep 17 00:00:00 2001 From: martbost Date: Sun, 15 Nov 2026 10:10:27 -0600 Subject: [PATCH] Network footer links: CODES adds viraladblitz nwvab, fivex nw5x and downlinehydra nwdh (Marty 2026-11-15: every site is its own LinkSpin traffic source), so links to the three new sites are tracked instead of plain; same list as LinkSpin and Stack POL. Co-Authored-By: Claude Opus 5.5 --- netsites.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netsites.js b/netsites.js index 9c42dd0..521663c 100644 --- a/netsites.js +++ b/netsites.js @@ -37,7 +37,7 @@ function list() { if (Date.now() - cache.at > TTL) refresh(); return cache.list; // entry also gets go = the LinkSpin network link for that site with ?src=, so a click shows in LinkSpin Reports under the // site that sent it (LinkSpin netlinks.js: fixed codes on the admin account). This site = NETWORK_SITE_ID, else the request host. // No go for this site itself, or when this site cannot be told (a test host): the page then uses the plain url. -const CODES = { iap: 'nwiap', linkspin: 'nwls', dlb: 'nwdlb', vbb: 'nwvbb', viraladblitz: 'nwvab', stackpol: 'nwsp', earnerscorner: 'nwec' }; +const CODES = { iap: 'nwiap', linkspin: 'nwls', dlb: 'nwdlb', vbb: 'nwvbb', viraladblitz: 'nwvab', fivex: 'nw5x', downlinehydra: 'nwdh', stackpol: 'nwsp', earnerscorner: 'nwec' }; const linksBase = () => String(process.env.NETWORK_LINKS_BASE || 'https://linkspin.app').trim().replace(/\/+$/, ''); const hostOf = u => { try { return new URL(u).hostname.toLowerCase().replace(/^www\./, ''); } catch (e) { return ''; } }; function selfId(req, l) {