--port should take precedence over environment setting
This commit is contained in:
parent
a061c16392
commit
24072c4c06
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ HTMLOut.setOptions({'cache': fCache, 'console': fConsole, 'debug': fDebug, 'rebu
|
|||
|
||||
var app = express();
|
||||
app.enable("strict routing");
|
||||
app.set('port', process.env.PORT || args.argv['port'] || 8088);
|
||||
app.set('port', args.argv['port'] || process.env.PORT || 8088);
|
||||
|
||||
/*
|
||||
* I already include the following in the <head> tag of my HTML documents:
|
||||
|
|
|
|||
Loading…
Reference in a new issue