Skip to content

Commit 203680a

Browse files
committed
fix: 更新导入语句,添加注释以说明如何使用connect函数
1 parent 4f79dcf commit 203680a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

_worker.js

Lines changed: 3 additions & 3 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'];

0 commit comments

Comments
 (0)