From b66923c4719f327babca1c56fce37641a90e7ccb Mon Sep 17 00:00:00 2001 From: liudongqi Date: Wed, 4 Sep 2024 19:47:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/index.js b/routes/index.js index 6c19191..eb9d66f 100644 --- a/routes/index.js +++ b/routes/index.js @@ -134,7 +134,7 @@ async function handle(url, htmlStr, jsText, cookie, userAgent, uuid, loadHtmlJs) js = jsText; } console.log(`${uuid};js 加载长度--->`, js.length) - fs.writeFileSync(`./back/${uuid}.js`, cookie) + fs.writeFileSync(`./back/${uuid}.js`, js) // 执行 js let script = new Script(js);