fix logic in default port
This commit is contained in:
parent
234292a441
commit
2347c4b1a3
@ -40,8 +40,8 @@
|
|||||||
trace/wrap-stacktrace))
|
trace/wrap-stacktrace))
|
||||||
|
|
||||||
(defn -main []
|
(defn -main []
|
||||||
(let [port (or (Integer. (env :port))
|
(let [port (Integer. (env :port (:default-server-port config)))
|
||||||
(:default-server-port config))]
|
]
|
||||||
(jetty/run-jetty app {:port port})))
|
(jetty/run-jetty app {:port port})))
|
||||||
|
|
||||||
;; For interactive development:
|
;; For interactive development:
|
||||||
|
Loading…
Reference in New Issue
Block a user