Skip to content
Myr

Removed direct CONNECT_ENV support

Before adoption: this commit came in with the history the project adopted, so no landing records it.

it is now SPARK_ENV, grr tim

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 82dbae6 · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:lib/express/server.js+1 added-2 removed
34 unmodified lines
3536 // Default "home" to / 37 this.set('home', '/');3839 // Set "env" to {EXPRESS,CONNECT}_ENV39 // Set "env" to EXPRESS_ENV or connectEnv.name40 this.set('env',41 process.env.EXPRESS_ENV ||42 process.env.CONNECT_ENV ||42 process.connectEnv.name);4344 // Expose objects to each other45 this.use(function(req, res, next){
231 unmodified lines