mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-04 09:06:06 +08:00
command-run 增加返回 QL-Task-Log 日志路径
This commit is contained in:
parent
87b934aafe
commit
0587644a6b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user