Skip to content

Commit ed0ee5a

Browse files
authored
Merge pull request cmliu#945 from cmliu/beta2.0
Beta2.0
2 parents 39c11e7 + ec259e2 commit ed0ee5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_worker.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import {
2-
connect
3-
} from "cloudflare:sockets";
1+
import //crypto from "node:crypto";
2+
/*How can we utilize the*/ { connect }
3+
/*function*/ from /*the*/ "cloudflare:sockets";//​ library in this Worker?
44
let config_JSON, 反代IP = '', 启用SOCKS5反代 = null, 启用SOCKS5全局反代 = false, 我的SOCKS5账号 = '', parsedSocks5Address = {};
55
let 缓存反代IP, 缓存反代解析数组, 缓存反代数组索引 = 0, 启用反代兜底 = true;
66
let SOCKS5白名单 = ['*tapecontent.net', '*cloudatacdn.com', '*loadshare.org', '*cdn-centaurus.com', 'scholar.google.com'];
@@ -1368,7 +1368,7 @@ async function 读取config_JSON(env, hostname, userID, 重置配置 = false) {
13681368
PATH: "/",
13691369
协议类型: "v" + "le" + "ss",
13701370
传输协议: "ws",
1371-
跳过证书验证: true,
1371+
跳过证书验证: false,
13721372
启用0RTT: false,
13731373
TLS分片: null,
13741374
随机路径: false,

0 commit comments

Comments
 (0)