From 5a56ab5aa0ce7eb0b3a60cb5a3e0c49dfcf43969 Mon Sep 17 00:00:00 2001 From: BTCforPlebs Date: Wed, 19 Nov 2025 13:34:55 -0500 Subject: [PATCH] fevela homepage update --- checklinks.js | 24 ++--- public/index.html | 243 +++++++++++++++++++++++++--------------------- 2 files changed, 143 insertions(+), 124 deletions(-) diff --git a/checklinks.js b/checklinks.js index c6af85c..6562e52 100644 --- a/checklinks.js +++ b/checklinks.js @@ -14,7 +14,7 @@ const links = [ "https://nosotros.btcforplebs.com", "https://mint.btcforplebs.com", "https://cashu.btcforplebs.com", - "https://shipyard.btcforplebs.com", + "https://fevela.btcforplebs.com", "https://live.btcforplebs.com", "https://nsec.btcforplebs.com", "https://flotilla.btcforplebs.com", @@ -23,17 +23,17 @@ const links = [ ]; // Optional: Only allow internal requests if you're not exposing this publicly - app.use((req, res, next) => { - const origin = req.headers.origin || 'unknown'; - console.log(`Request: ${req.method} ${req.url} | Origin: ${origin}`); - res.header("Access-Control-Allow-Headers", "Content-Type"); - res.header("Access-Control-Allow-Origin", "*"); - res.header("Access-Control-Allow-Methods", "GET, OPTIONS"); - - if (req.method === 'OPTIONS') { - return res.sendStatus(200); - } - next(); +app.use((req, res, next) => { + const origin = req.headers.origin || 'unknown'; + console.log(`Request: ${req.method} ${req.url} | Origin: ${origin}`); + res.header("Access-Control-Allow-Headers", "Content-Type"); + res.header("Access-Control-Allow-Origin", "*"); + res.header("Access-Control-Allow-Methods", "GET, OPTIONS"); + + if (req.method === 'OPTIONS') { + return res.sendStatus(200); + } + next(); }); app.get("/", (req, res) => { diff --git a/public/index.html b/public/index.html index 06b77df..5f2a575 100644 --- a/public/index.html +++ b/public/index.html @@ -1,151 +1,170 @@ + - - - BTCforPlebs + + + BTCforPlebs - - + + - - - - - - + + + + + + - - + + - - - - - + + + + + - - - -
+ + + + + - - - - const apiEndpoint = "/api/link-status"; + + - + - + + \ No newline at end of file