fix logic in default port

This commit is contained in:
Thel Seraphim 2015-03-03 02:12:44 -08:00
parent 234292a441
commit 2347c4b1a3

View File

@ -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: