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..c5d6fca8e 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,9 +1,18 @@ -name = "cf-worker-ws-dev" # todo +name = "pucco" # 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 = "pucco.ninjawasir.my.id" +custom_domain = true +[[routes]] +pattern = "zaintest.vuclip.com.pucco.ninjawasir.my.id" +custom_domain = true +[[routes]] +pattern = "ava.game.naver.com.pucco.ninjawasir.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 = "b04c2bca-04a4-483c-b758-f35ce12f8c2a"