Skip to content

Commit a924c0d

Browse files
committed
Merge branch 'main' of https://github.com/cmliu/edgetunnel
2 parents 74257c5 + ed0ee5a commit a924c0d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

_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)