Update inbound.js

This commit is contained in:
QianYe 2025-09-18 23:26:01 +08:00 committed by GitHub
parent a45f17c1dc
commit 55ffb1f9ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1313,7 +1313,7 @@ class Inbound extends XrayCommonClass {
const security = forceTls == 'same' ? this.stream.security : forceTls;
const params = new Map();
params.set("type", this.stream.network);
params.set("encryption", this.settings.encryption);
params.set("encryption", this.settings.encryption || "none");
switch (type) {
case "tcp":
const tcp = this.stream.tcp;