From 245995c32d1df68e8a5a3ec8f0479216b1efb88a Mon Sep 17 00:00:00 2001 From: Max Nuding Date: Sun, 20 Jul 2025 11:39:23 +0200 Subject: [PATCH] switch hardcoded websub hub to env variable --- .env.EXAMPLE | 2 +- src/app.html | 2 +- src/lib/server/rss.ts | 11 ++++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.env.EXAMPLE b/.env.EXAMPLE index 75b630b..b3149e3 100644 --- a/.env.EXAMPLE +++ b/.env.EXAMPLE @@ -10,8 +10,8 @@ BASE_URL = 'https://moshingmammut.phlaym.net' VERBOSE = false DEBUG_LOG = false IGNORE_USERS = @moshhead@metalhead.club -WEBSUB_HUB = 'http://pubsubhubbub.superfeedr.com' +PUBLIC_WEBSUB_HUB = 'http://pubsubhubbub.superfeedr.com' PUBLIC_REFRESH_INTERVAL = 10000 PUBLIC_MASTODON_INSTANCE_DISPLAY_NAME = 'Metalhead.club' PORT = 3001 \ No newline at end of file diff --git a/src/app.html b/src/app.html index 9f237cb..5b1ed03 100644 --- a/src/app.html +++ b/src/app.html @@ -19,7 +19,7 @@ - + %sveltekit.head%