明树Git Lab

Commit 03c6b001 authored by zfp1's avatar zfp1

update

parent b4a0a296
...@@ -13,7 +13,7 @@ module.exports = { ...@@ -13,7 +13,7 @@ module.exports = {
}, },
env_production: { env_production: {
NODE_ENV: "production", NODE_ENV: "production",
PORT:3000 PORT:3001
}, },
log_date_format: "YYYY-MM-DD HH:mm:ss", log_date_format: "YYYY-MM-DD HH:mm:ss",
out_file: `/srv/letian/logs/${curDateStr}.log`, out_file: `/srv/letian/logs/${curDateStr}.log`,
......
...@@ -71,6 +71,6 @@ app.use(function (err, req, res, next) { ...@@ -71,6 +71,6 @@ app.use(function (err, req, res, next) {
const server = require('http').createServer(app); const server = require('http').createServer(app);
server.listen(process.env.PORT || 3000, function () { server.listen(process.env.PORT || 3001, function () {
console.log(`****** server is listening : ${process.env.PORT} || 3000`); console.log(`****** server is listening : ${process.env.PORT} || 3000`);
}); });
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