command-run 增加返回 QL-Task-Log 日志路径

This commit is contained in:
whyour 2025-06-28 01:05:05 +08:00
parent 87b934aafe
commit 0587644a6b

View File

@ -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();