Update index.js
Browse files
index.js
CHANGED
|
@@ -68,7 +68,7 @@ app.get('/*', async (req, res) => {
|
|
| 68 |
res.send(result.htmlContent); // ει htmlContent ηηΊ―ζζ¬εεΊ
|
| 69 |
} else if (req.path === '/core') {
|
| 70 |
// ε
ζΎε°ε
ε«εεε符ηε符串
|
| 71 |
-
const coreContent = result.htmlContent.match(/\[CDATA\[\(function\(n,t\)\{onload=function\(\)\{_G\.BPT=new Date;n&&n\(\)\{.*?\
|
| 72 |
if (coreContent) {
|
| 73 |
// ε ι€ζδΈιθ¦ηι¨ε
|
| 74 |
let extractedString = coreContent[0];
|
|
|
|
| 68 |
res.send(result.htmlContent); // ει htmlContent ηηΊ―ζζ¬εεΊ
|
| 69 |
} else if (req.path === '/core') {
|
| 70 |
// ε
ζΎε°ε
ε«εεε符ηε符串
|
| 71 |
+
const coreContent = result.htmlContent.match(/\[CDATA\[\(function\(n,t\)\{onload=function\(\)\{_G\.BPT=new Date;n&&n\(\)\{.*?\/\/\]\]\//s);
|
| 72 |
if (coreContent) {
|
| 73 |
// ε ι€ζδΈιθ¦ηι¨ε
|
| 74 |
let extractedString = coreContent[0];
|