Merge pull request #134 from sushen339/main

Update inbound.js
This commit is contained in:
心隨緣動 2025-09-18 23:50:11 +08:00 committed by GitHub
commit 8dce81f78e
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;