diff options
author | Thel Seraphim <thel.seraphim@gmail.com> | 2015-03-03 02:12:44 -0800 |
---|---|---|
committer | Thel Seraphim <thel.seraphim@gmail.com> | 2015-03-03 02:12:44 -0800 |
commit | 2347c4b1a378e72472bb90e90592ccef89d1e10f (patch) | |
tree | aa58b35adec138c779dddd9cc9791c9a2fd7cd5d /src/pronouns | |
parent | 234292a4412eaf3b639070b13a0dd3de95b7da73 (diff) |
fix logic in default port
Diffstat (limited to 'src/pronouns')
-rw-r--r-- | src/pronouns/web.clj | 4 |
1 files 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: |