修复运行命令api任务日志路径

This commit is contained in:
whyour
2023-05-04 10:25:04 +08:00
parent d8ae039b92
commit c84908d7fa
6 changed files with 34 additions and 21 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ const check = async (
const res = await promiseExec(
`curl -sf http://localhost:${config.port}/api/system`,
);
console.log(res);
if (res.includes('200')) {
return callback(null, { status: 1 });
}