From f8135577a19c5bcc57ba20eeacea5ce2bba45fd4 Mon Sep 17 00:00:00 2001 From: Eric P Date: Thu, 6 Nov 2025 12:49:59 -0600 Subject: [PATCH] Add LNAddress redirects for podcastindex@podcastindex.org --- server/index.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/server/index.js b/server/index.js index cc885c1..02e0ab3 100644 --- a/server/index.js +++ b/server/index.js @@ -90,6 +90,18 @@ app.use('/namespace/1.0', async (req, res) => { ) }) +// ------------------------------------------------ +// ---------- LNAddress for Podcastindex ---------- +// ------------------------------------------------ + +app.get('/.well-known/keysend/podcastindex', (req, res) => { + res.redirect('https://getalby.com/.well-known/keysend/podcastindex') +}) + +app.get('/.well-known/lnurlp/podcastindex', (req, res) => { + res.redirect('https://getalby.com/.well-known/lnurlp/podcastindex') +}) + // ------------------------------------------------ // ------------ Reverse proxy for API ------------- // ------------------------------------------------