Update index.js
Browse files
index.js
CHANGED
@@ -60,9 +60,10 @@ app.get('/', async (req, res) => {
|
|
60 |
});
|
61 |
|
62 |
console.log(result);
|
|
|
63 |
// 关闭浏览器
|
64 |
await browser.close();
|
65 |
-
|
66 |
|
67 |
// const standardUrl = convertEscapedUrlToStandard(result);
|
68 |
// const stringAfterRp = extractStringAfterRp(standardUrl);
|
|
|
60 |
});
|
61 |
|
62 |
console.log(result);
|
63 |
+
res.send(result);
|
64 |
// 关闭浏览器
|
65 |
await browser.close();
|
66 |
+
|
67 |
|
68 |
// const standardUrl = convertEscapedUrlToStandard(result);
|
69 |
// const stringAfterRp = extractStringAfterRp(standardUrl);
|