Update index.js
Browse files
index.js
CHANGED
@@ -45,7 +45,7 @@ app.get('/', async (req, res) => {
|
|
45 |
// return matchcib[0];
|
46 |
// 使用正则表达式提取所有的JS文件URL
|
47 |
const allregex = /\/([a-zA-Z0-9_-]+\.br\.js)'/g
|
48 |
-
const matches =
|
49 |
|
50 |
let scripts = ''
|
51 |
if (matches) {
|
|
|
45 |
// return matchcib[0];
|
46 |
// 使用正则表达式提取所有的JS文件URL
|
47 |
const allregex = /\/([a-zA-Z0-9_-]+\.br\.js)'/g
|
48 |
+
const matches = htmlContent.match(allregex)
|
49 |
|
50 |
let scripts = ''
|
51 |
if (matches) {
|