lix02 commited on
Commit
aae1813
·
verified ·
1 Parent(s): 59fadb9

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -20,7 +20,7 @@ function extractStringAfterRp(url) {
20
 
21
 
22
  app.get('/*', async (req, res) => {
23
- const referer = req.headers.referer || "https://cfby.nbing.eu.org";
24
  const url = new URL(referer);
25
  const rehost = url.hostname;
26
  // 启动浏览器
@@ -55,7 +55,7 @@ app.get('/*', async (req, res) => {
55
  if (matches) {
56
  matches.forEach(match => {
57
  const scriptUrl = match.replace(/'/g, "")
58
- scripts += `<script src="https://cfby.nbing.eu.org/rp${scriptUrl}"></script>\n`
59
  })
60
  }
61
  return { scripts, cibname, htmlContent };
 
20
 
21
 
22
  app.get('/*', async (req, res) => {
23
+ const referer = req.headers.referer || "https://r.bing.com";
24
  const url = new URL(referer);
25
  const rehost = url.hostname;
26
  // 启动浏览器
 
55
  if (matches) {
56
  matches.forEach(match => {
57
  const scriptUrl = match.replace(/'/g, "")
58
+ scripts += `<script src="https://r.bing.com/rp${scriptUrl}"></script>\n`
59
  })
60
  }
61
  return { scripts, cibname, htmlContent };