lix02 commited on
Commit
4dbc300
·
verified ·
1 Parent(s): 82482b5

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -44,12 +44,12 @@ app.get('/', async (req, res) => {
44
  if (matchcib) {
45
  // return matchcib[0];
46
  const cibname = matchcib[0];
47
- console.log(cibname);
48
  // 使用正则表达式提取所有的JS文件URL
49
  const allregex = /\/([a-zA-Z0-9_-]+\.br\.js)'/g
50
  const matches = htmlContent.match(allregex)
51
 
52
- let scripts = '${cibname}'
53
  if (matches) {
54
  matches.forEach(match => {
55
  const scriptUrl = match.replace(/'/g, "")
 
44
  if (matchcib) {
45
  // return matchcib[0];
46
  const cibname = matchcib[0];
47
+ console.log(${cibname});
48
  // 使用正则表达式提取所有的JS文件URL
49
  const allregex = /\/([a-zA-Z0-9_-]+\.br\.js)'/g
50
  const matches = htmlContent.match(allregex)
51
 
52
+ let scripts = ''
53
  if (matches) {
54
  matches.forEach(match => {
55
  const scriptUrl = match.replace(/'/g, "")