mhsanaei 1 день назад
Родитель
Сommit
24a313d605
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      web/assets/js/model/inbound.js

+ 1 - 2
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') {