From 24a313d60519b53814925ab3178657cb627f7187 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Fri, 4 Jul 2025 13:18:23 +0200 Subject: [PATCH] fixed: type #3186 --- web/assets/js/model/inbound.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index 5228001c..ff30ef1b 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -1249,7 +1249,6 @@ class Inbound extends XrayCommonClass { id: clientId, scy: security, net: this.stream.network, - type: 'none', tls: tls, }; const network = this.stream.network; @@ -1284,7 +1283,7 @@ class Inbound extends XrayCommonClass { const xhttp = this.stream.xhttp; obj.path = xhttp.path; obj.host = xhttp.host?.length > 0 ? xhttp.host : this.getHeader(xhttp, 'host'); - obj.mode = xhttp.mode; + obj.type = xhttp.mode; } if (tls === 'tls') {