Permalink
Browse files

Removed direct CONNECT_ENV support

it is now SPARK_ENV, grr tim
  • Loading branch information...
1 parent 82dbae6 commit 8e6675677fbcce588cb8319c02eea34d7460c1d5 @tj tj committed Jul 28, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/express/server.js
@@ -36,10 +36,9 @@ var Server = exports = module.exports = function Server(middleware){
// Default "home" to /
this.set('home', '/');
- // Set "env" to {EXPRESS,CONNECT}_ENV
+ // Set "env" to EXPRESS_ENV or connectEnv.name
this.set('env',
process.env.EXPRESS_ENV ||
- process.env.CONNECT_ENV ||
process.connectEnv.name);
// Expose objects to each other

0 comments on commit 8e66756

Please sign in to comment.