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