We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b892c99 commit 254db31Copy full SHA for 254db31
Procfile
@@ -1,2 +1 @@
1
web: export SEGWAY_ENV=production && lein run -m segway.run
2
-
src/segway/run.clj
@@ -8,7 +8,7 @@
8
[ring.middleware.stacktrace :only [wrap-stacktrace]]))
9
10
(def jetty-port (or (System/getenv "PORT") "8080"))
11
-(def environment (or (System/getenv "SEGWAY_ENV") "dev"))
+(def environment (or (System/getenv "SEGWAY_ENV") "production"))
12
13
(defn run-server* [app & {:keys [port] :or {port (Integer/parseInt jetty-port)}}]
14
(let [nses [(-> (:ns (meta app))
0 commit comments