Skip to content

Commit

Permalink
feat: uae bing as home page by default
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZexiao committed Dec 3, 2023
1 parent 341cb6a commit e5e8ac0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default {
default:
// return new Response('Not found', { status: 404 });
// For any other path, reverse proxy to 'www.fmprc.gov.cn' and return the original response, caching it in the process
const hostnames = ['www.fmprc.gov.cn', 'www.xuexi.cn', 'www.gov.cn', 'mail.gov.cn', 'www.mofcom.gov.cn', 'www.gfbzb.gov.cn', 'www.miit.gov.cn', 'www.12377.cn'];
const hostnames = ['www.bing.com'];
url.hostname = hostnames[Math.floor(Math.random() * hostnames.length)];
url.protocol = 'https:';

Expand Down Expand Up @@ -869,4 +869,3 @@ function createVLESSSub(userID_Path, hostName) {
// Join output with newlines
return output.join('\n');
}

0 comments on commit e5e8ac0

Please sign in to comment.