Skip to content

Commit

Permalink
Update _worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
amin4139 authored Mar 29, 2024
1 parent 0909c01 commit 2ca81bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { connect } from 'cloudflare:sockets';
// [Windows] Press "Win + R", input cmd and run: Powershell -NoExit -Command "[guid]::NewGuid()"
let userID = 'd342d11e-d424-4583-b36e-524ab1f0afa4';

const proxyIPs = ["workers.cloudflare.cyou"]; // const proxyIPs = ['cdn-all.xn--b6gac.eu.org', 'cdn.xn--b6gac.eu.org', 'cdn-b100.xn--b6gac.eu.org', 'edgetunnel.anycast.eu.org', 'cdn.anycast.eu.org'];
const proxyIPs = ['2.189.59.2','2.189.59.3','2.189.59.4','2.189.59.5','2.189.59.6']; // const proxyIPs = ['cdn-all.xn--b6gac.eu.org', 'cdn.xn--b6gac.eu.org', 'cdn-b100.xn--b6gac.eu.org', 'edgetunnel.anycast.eu.org', 'cdn.anycast.eu.org'];
let proxyIP = proxyIPs[Math.floor(Math.random() * proxyIPs.length)];

let dohURL = 'https://sky.rethinkdns.com/1:-Pf_____9_8A_AMAIgE8kMABVDDmKOHTAKg='; // https://cloudflare-dns.com/dns-query or https://dns.google/dns-query
Expand Down Expand Up @@ -101,7 +101,7 @@ export default {
default:
// return new Response('Not found', { status: 404 });
// For any other path, reverse proxy to 'maimai.sega.jp' and return the original response
url.hostname = 'maimai.sega.jp';
url.hostname = 'tamin.ir';
url.protocol = 'https:';
request = new Request(url, request);
return await fetch(request);
Expand Down Expand Up @@ -777,4 +777,4 @@ ${vlessTlsLink}
---------------------------------------------------------------
更多教程,请关注:小御坂的破站
`;
}
}

0 comments on commit 2ca81bd

Please sign in to comment.