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)]; 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"