Fix forgotten hardcode

This commit is contained in:
Felisp 2024-09-10 20:32:01 +02:00
parent 389a3fa9ef
commit 3555891000

View file

@ -160,8 +160,8 @@
:body (get @conf/GLOBAL-CONFIG :board-disabled-message)}))) :body (get @conf/GLOBAL-CONFIG :board-disabled-message)})))
;; No url params -> we redirect to documentation about params ;; No url params -> we redirect to documentation about params
(when (empty? prms) (when (empty? prms)
(throw (ex-info "302" ;TODO: remove hardcode redirect (throw (ex-info "302"
(response/redirect "https://git.treebrary.org/Treebrary.org/rss-thread-watcher#headline-4")))) (response/redirect (get @conf/GLOBAL-CONFIG :homepage)))))
;; No querry specified - don't know what to search for ;; No querry specified - don't know what to search for
(when-not (prms "q") (when-not (prms "q")