Update index.js
Browse files
index.js
CHANGED
@@ -92,7 +92,9 @@ app.get('/*', async (req, res) => {
|
|
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://cfby.nbing.eu.org'); // ε ι€ https://r.bing.com
|
|
|
|
|
96 |
res.set('Content-Type', 'text/plain');
|
97 |
res.send(pextractedString); // ειζεεηε符串
|
98 |
} 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://cfby.nbing.eu.org'); // ε ι€ https://r.bing.com
|
96 |
+
pextractedString = pextractedString.replace(/https:\/\/r\.bing\.com/g, ''); // ε ι€ https://r.bing.com
|
97 |
+
|
98 |
res.set('Content-Type', 'text/plain');
|
99 |
res.send(pextractedString); // ειζεεηε符串
|
100 |
} else {
|