mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-02-05 15:29:35 +08:00
新增 - 测试项目临时代码
This commit is contained in:
parent
ee35856879
commit
cb321aaf7f
8
app.js
8
app.js
@ -245,6 +245,14 @@ app.use('/fs', require('./onlinefs/controller/function'));
|
||||
|
||||
if (MCSERVER.localProperty.ftp_is_allow)
|
||||
require('./ftpd/index'); //执行ftp逻辑
|
||||
|
||||
setTimeout(() => {
|
||||
let arg2 = process.argv[2];
|
||||
if (arg2 == '--debug') {
|
||||
MCSERVER.infoLog("测试完毕 | 退出...");
|
||||
process.exit(0);
|
||||
}
|
||||
}, 10000);
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user