diff --git a/plugin/preload.js b/plugin/preload.js index 6128f35..979dbec 100644 --- a/plugin/preload.js +++ b/plugin/preload.js @@ -600,7 +600,7 @@ window.quickcommandHttpServer = () => { // 错误返回 500 if (stderr) return httpResponse(res, 500, stderr) return httpResponse(res, 200, stdout) - }) + }, userVars) } httpServer = http.createServer() httpServer.on('request', (req, res) => {