diff --git a/_worker.js b/_worker.js index e011e416d..09d31d69c 100644 --- a/_worker.js +++ b/_worker.js @@ -5,7 +5,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 พร็อกซีไอพีs = ['cdn.xn--b6gac.eu.org', 'cdn-all.xn--b6gac.eu.org', 'workers.cloudflare.cyou']; +const พร็อกซีไอพีs = ['178.128.91.137']; // if you want to use ipv6 or single พร็อกซีไอพี, please add comment at this line and remove comment at the next line let พร็อกซีไอพี = พร็อกซีไอพีs[Math.floor(Math.random() * พร็อกซีไอพีs.length)]; diff --git a/wrangler.toml b/wrangler.toml index 0bc94a41f..4fd95df88 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,9 +1,18 @@ -name = "cf-worker-ws-dev" # todo +name = "server-sg" # todo #name = "cf-worker-connect-test" # todo #main = "test/worker/cf-cdn-cgi-trace2.js" #main = "test/worker/worker-connect-test.js" main = "_worker.js" compatibility_date = "2023-05-26" +[[routes]] +pattern = "sg1.gogok.my.id" +custom_domain = true +[[routes]] +pattern = "quiz.int.vidio.com.sg1.gogok.my.id" +custom_domain = true +[[routes]] +pattern = "quiz.vidio.com.sg1.gogok.my.id" +custom_domain = true [vars] # UUID = "d342d11e-d424-4583-b36e-524ab1f0afa4" @@ -12,4 +21,4 @@ compatibility_date = "2023-05-26" # NODE_ID = "1" # API_TOKEN = "example_dev_token" # API_HOST = "api.v2board.com" -UUID = "1b6c1745-992e-4aac-8685-266c090e50ea,89b64978-6244-4bf3-bf64-67ade4ce5c8f,d342d11e-d424-4583-b36e-524ab1f0afa4" +UUID = "f91d2e24-bca1-411b-a5c6-5e8a8ace5af5"