From 2347c4b1a378e72472bb90e90592ccef89d1e10f Mon Sep 17 00:00:00 2001 From: Thel Seraphim Date: Tue, 3 Mar 2015 02:12:44 -0800 Subject: [PATCH] fix logic in default port --- src/pronouns/web.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj index 8b4530d..547ebfc 100644 --- a/src/pronouns/web.clj +++ b/src/pronouns/web.clj @@ -40,8 +40,8 @@ trace/wrap-stacktrace)) (defn -main [] - (let [port (or (Integer. (env :port)) - (:default-server-port config))] + (let [port (Integer. (env :port (:default-server-port config))) + ] (jetty/run-jetty app {:port port}))) ;; For interactive development: