api/itunnel: pass itunnel object by reference

This commit is contained in:
jj
2025-01-20 15:46:03 +00:00
parent 19ade7c905
commit c07940bfa4
2 changed files with 2 additions and 2 deletions

View File

@@ -313,7 +313,7 @@ export const runAPI = async (express, app, __dirname, isPrimary = true) => {
...Object.entries(req.headers)
]);
return stream(res, { type: 'internal', ...streamInfo });
return stream(res, { type: 'internal', data: streamInfo });
};
app.get('/itunnel', itunnelHandler);