From 64a0f88ac4510aa628327212be894581fbed98c8 Mon Sep 17 00:00:00 2001 From: Felisp Date: Tue, 24 Sep 2024 01:58:17 +0200 Subject: [PATCH] Fixed bug where user-specified port was ignored --- src/rss_thread_watch/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rss_thread_watch/core.clj b/src/rss_thread_watch/core.clj index c59a33e..892f85a 100644 --- a/src/rss_thread_watch/core.clj +++ b/src/rss_thread_watch/core.clj @@ -77,7 +77,7 @@ (reset! feed/boards-enabled-cache (set (keys (get config :boards-enabled)))) (reset! watcher/chod-threads-cache (watcher/generate-chod-cache-structure config)) (clojure.pprint/pprint config) - (jetty/run-jetty (rp/wrap-params feed/http-handler) {:port (:port conf/CONFIG-DEFAULT) + (jetty/run-jetty (rp/wrap-params feed/http-handler) {:port (:port config) :join? true})))) ;; Docs: https://github.com/ring-clojure/ring/wiki/Getting-Started