lix02 commited on
Commit
cf02e0e
Β·
verified Β·
1 Parent(s): 5a4bdea

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -0
index.js CHANGED
@@ -92,6 +92,7 @@ app.get('/*', async (req, res) => {
92
  if (importmapContent) {
93
  let pextractedString = importmapContent[0];
94
  pextractedString = pextractedString.replace('<script type="importmap" nonce="">', '').replace('<\/script>', '');
 
95
  res.set('Content-Type', 'text/plain');
96
  res.send(pextractedString); // ε‘ι€ζε–εŽηš„ε­—η¬¦δΈ²
97
  } else {
 
92
  if (importmapContent) {
93
  let pextractedString = importmapContent[0];
94
  pextractedString = pextractedString.replace('<script type="importmap" nonce="">', '').replace('<\/script>', '');
95
+ pextractedString = pextractedString.replace(/https:\\\/\\\/r\.bing\.com/g, ''); // εˆ ι™€ https:\/\/r.bing.com
96
  res.set('Content-Type', 'text/plain');
97
  res.send(pextractedString); // ε‘ι€ζε–εŽηš„ε­—η¬¦δΈ²
98
  } else {