Skip to content

Commit 3a9971d

Browse files
committed
去除配置
1 parent b584ff0 commit 3a9971d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

server/config/Config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
server: {
33
port: process.env.PORT || 8889,
4-
host: process.env.NODE_ENV === 'production' ? `172.16.20.8` : `127.0.0.1`
4+
host: process.env.NODE_ENV === 'production' ? `127.0.0.1` : `127.0.0.1`
55
},
66
mongodb: {
77
db: 'loan',

server/scripts/FtpConfig.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
* Created by sky on 2017/5/31.
33
*/
44
module.exports = {
5-
host: '120.55.71.31',
6-
port: 3821,
5+
host: 'xxx',
6+
port: 11,
77
username: 'root',
8-
password: 'fqg.MN.1573',
8+
password: 'xxx',
99
remoteBaseDir: '/data/',
1010
localBaseDir: '/soft/nodejs/data/'
1111
};

0 commit comments

Comments
 (0)