修改默认以 127.0.0.1 访问

This commit is contained in:
doramart 2020-03-15 16:56:31 +08:00
parent 6f251db124
commit 7f822dedc2

View File

@ -52,9 +52,9 @@ module.exports = appInfo => {
logger: {
dir: path.join(appInfo.baseDir, 'logs'),
},
server_path: 'http://localhost:8080',
server_api: 'http://localhost:8080/api',
server_path: 'http://127.0.0.1:8080',
server_api: 'http://127.0.0.1:8080/api',
}
};