Permalink
Browse files

Set port *properly*

  • Loading branch information...
1 parent f71144d commit 3e38c2bdffb62070dbbdbf00566ce07e862bd205 @Raynes committed Oct 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/tryclojure/core.clj
View
@@ -140,6 +140,6 @@
(server/add-middleware wrap-file (System/getProperty "user.dir"))
-(defn tryclj [] (server/start 47761))
+(defn tryclj [] (server/start (Integer. (System/getenv "PORT"))))
(defn -main [& args] (tryclj))

0 comments on commit 3e38c2b

Please sign in to comment.