From 3555891000b800e09413a854b42983d4155647b2 Mon Sep 17 00:00:00 2001 From: Felisp Date: Tue, 10 Sep 2024 20:32:01 +0200 Subject: [PATCH] Fix forgotten hardcode --- src/rss_thread_watch/feed_generator.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rss_thread_watch/feed_generator.clj b/src/rss_thread_watch/feed_generator.clj index a2b6144..6f34a62 100644 --- a/src/rss_thread_watch/feed_generator.clj +++ b/src/rss_thread_watch/feed_generator.clj @@ -160,8 +160,8 @@ :body (get @conf/GLOBAL-CONFIG :board-disabled-message)}))) ;; No url params -> we redirect to documentation about params (when (empty? prms) - (throw (ex-info "302" ;TODO: remove hardcode redirect - (response/redirect "https://git.treebrary.org/Treebrary.org/rss-thread-watcher#headline-4")))) + (throw (ex-info "302" + (response/redirect (get @conf/GLOBAL-CONFIG :homepage))))) ;; No querry specified - don't know what to search for (when-not (prms "q")