Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-04-17 10:34:25 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-04-17 10:34:25 +0300
commita9f4c5fd77cd7c9f6606d1d927d232cc1ecefde3 (patch)
tree8a49510ab24a18c8c0c8f2be4e5c70ade89434b9
parent8a9d9ae24c2dbb16007949183e15b0b09d5829af (diff)
fix httpUpgrade host
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
-rw-r--r--web/assets/js/model/outbound.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index 17903fe1..7f9882e0 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -289,7 +289,7 @@ class HttpUpgradeStreamSettings extends CommonClass {
static fromJson(json={}) {
return new HttpUpgradeStreamSettings(
json.path,
- json.Host,
+ json.host,
json.headers && !ObjectUtil.isEmpty(json.headers.Host) ? json.headers.Host : '',
);
}