Skip to content

Commit 254db31

Browse files
author
Maurizio Pillitu
committedNov 8, 2011
change default env to production
1 parent b892c99 commit 254db31

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎Procfile

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
web: export SEGWAY_ENV=production && lein run -m segway.run
2-

‎src/segway/run.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[ring.middleware.stacktrace :only [wrap-stacktrace]]))
99

1010
(def jetty-port (or (System/getenv "PORT") "8080"))
11-
(def environment (or (System/getenv "SEGWAY_ENV") "dev"))
11+
(def environment (or (System/getenv "SEGWAY_ENV") "production"))
1212

1313
(defn run-server* [app & {:keys [port] :or {port (Integer/parseInt jetty-port)}}]
1414
(let [nses [(-> (:ns (meta app))

0 commit comments

Comments
 (0)
Please sign in to comment.