Permalink
Browse files

Parsing port to integer

  • Loading branch information...
1 parent 3451fa5 commit 84e06df67ee1ea7a86e622a8f3ed36c52d092193 @swaroopch committed Jul 27, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/isbnnetinclj2/handler.clj
@@ -24,4 +24,5 @@
(defn -main []
(jetty/run-jetty app-routes
- {:port (or (System/getenv "PORT") 8080) :join? false}))
+ {:port (Integer. (or (System/getenv "PORT") 8080))
+ :join? false}))

0 comments on commit 84e06df

Please sign in to comment.