enable ipv6

This commit is contained in:
zizifn
2023-05-06 01:15:40 +08:00
committed by zizifn
parent 8efcc3e6d0
commit 250753cf72
3 changed files with 20 additions and 2 deletions

View File

@@ -60,6 +60,20 @@ docker run -d -p 4600:4100 -e UUID=ce6d9073-7085-4cb1-a64d-382489a2af94 zizifn/n
``` ```
> 如果你想让 DNS IPV4 优先, 请设置环境变量DNSORDER=ipv4first > 如果你想让 DNS IPV4 优先, 请设置环境变量DNSORDER=ipv4first
### Command
``` bash
export UUID=ce6d9073-7085-4cb1-a64d-382489a2af94 PORT=4100 node ./dist/apps/node-vless/main.js
```
小内存:
``` bash
export UUID=ce6d9073-7085-4cb1-a64d-382489a2af94 PORT=4100 SMALLRAM=true node ./dist/apps/node-vless/main.js
```
> 如果你想让 DNS IPV4 优先, 请设置环境变量DNSORDER=ipv4first
## 客户端 v2rayN 配置 ## 客户端 v2rayN 配置

View File

@@ -5169,7 +5169,11 @@ function initAsClient(websocket, address, protocols, options) {
}); });
}); });
if (opts.finishRequest) {
opts.finishRequest(req, websocket);
} else {
req.end(); req.end();
}
} }
/** /**

File diff suppressed because one or more lines are too long