From c6274d06158fbb89ef42bf34a6b4b83aee873514 Mon Sep 17 00:00:00 2001 From: Hanzo876 Date: Tue, 31 Dec 2024 11:04:24 +0700 Subject: [PATCH 1/2] Update wrangler.toml --- wrangler.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/wrangler.toml b/wrangler.toml index 0bc94a41f..674fc7b3a 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,9 +1,15 @@ -name = "cf-worker-ws-dev" # todo +name = "indo" # 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 ="alipapengabuan.us.kg" +custom_domain = true +[[routes]] +pattern ="alipapengabuan.us.kg" +custom_domain = true [vars] # UUID = "d342d11e-d424-4583-b36e-524ab1f0afa4" @@ -12,4 +18,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 = "6291d7d7-8712-4ee6-b91f-6beb886533da" From 5002722c1dea78ec38a26046609b3c3af7bbe2a0 Mon Sep 17 00:00:00 2001 From: Hanzo876 Date: Tue, 31 Dec 2024 11:10:19 +0700 Subject: [PATCH 2/2] Update _worker.js --- _worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_worker.js b/_worker.js index e011e416d..f944c3267 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 = ['52.74.101.26']; // 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)];