Commit aeaaa2f5 by 李福中

Update app.js for ews http port

parent 9259c5b7
...@@ -6,7 +6,7 @@ var http = require('http'), ...@@ -6,7 +6,7 @@ var http = require('http'),
env = process.env, env = process.env,
yaml = require('js-yaml'), yaml = require('js-yaml'),
engineConf = {}, engineConf = {},
serPort = parseInt(env["portslbhttp0"] || env["port.NODE_PORT"] || env["NODE_PORT"] || 8080), serPort = parseInt(env["port.slbhttp0"] || env["port.NODE_PORT"] || env["NODE_PORT"] || 8080),
workers = parseInt(env.WORKERS || 1); workers = parseInt(env.WORKERS || 1);
console.log("Server running at http://127.0.0.1:" + serPort); console.log("Server running at http://127.0.0.1:" + serPort);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment