Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set port *properly*

  • Loading branch information...
commit 3e38c2bdffb62070dbbdbf00566ce07e862bd205 1 parent f71144d
@Raynes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/tryclojure/core.clj
View
2  src/tryclojure/core.clj
@@ -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))
Please sign in to comment.
Something went wrong with that request. Please try again.