From 3d917b1351e319f84ed9c1ea532fc0d0320332db Mon Sep 17 00:00:00 2001 From: FansGaming <114886753+FansGaming@users.noreply.github.com> Date: Fri, 20 Dec 2024 01:27:23 -0800 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..144e6e581 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,9 +1,15 @@ -name = "cf-worker-ws-dev" # todo +name = "" # 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 = "sgl.gamervindo.my.id" +custom_domain = true +[[routes]] +pattern = "space.byu.id.sgl.gamervindo.my.id" +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 = "831e43c1-51a8-4b10-ac26-da7e5f1f7ffa" From 30b2af2681a8b82961571338f53a01f217a55ded Mon Sep 17 00:00:00 2001 From: FansGaming <114886753+FansGaming@users.noreply.github.com> Date: Fri, 20 Dec 2024 01:31:28 -0800 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..37e16e514 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 = ['104.248.145.216']; // 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)];