Fix forgotten hardcode
This commit is contained in:
parent
389a3fa9ef
commit
3555891000
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue