mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
command-run 增加返回 QL-Task-Log 日志路径
This commit is contained in:
@@ -273,6 +273,7 @@ export default (app: Router) => {
|
||||
{
|
||||
onStart: async (cp, startTime) => {
|
||||
res.setHeader('QL-Task-Pid', `${cp.pid}`);
|
||||
res.setHeader('QL-Task-Log', `${logPath}`);
|
||||
},
|
||||
onEnd: async (cp, endTime, diff) => {
|
||||
res.end();
|
||||
|
||||
Reference in New Issue
Block a user