fix logic in default port
This commit is contained in:
parent
234292a441
commit
2347c4b1a3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user