lix02 commited on
Commit
1c84b65
Β·
verified Β·
1 Parent(s): 94261c4

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
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.*?\/\/\]\]/s);
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(/\(function\(n,t\)\{onload=function\(\)\{_G\.BPT=new.*?\/\/\]\]/s);
72
  if (coreContent) {
73
  // εˆ ι™€ζŽ‰δΈιœ€θ¦ηš„ιƒ¨εˆ†
74
  let extractedString = coreContent[0];