lix02 commited on
Commit
0c0669d
·
verified ·
1 Parent(s): 51e3753

Update index.js

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