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 12:11:33 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-04-17 12:11:33 +0300
commitd37dbb7dc81ee5957e72e1173a9aa9ea626240fb (patch)
tree6bdfa105d42d6beaa8a455adc9a2f728c6e9767c /web/assets/js
parenta9f4c5fd77cd7c9f6606d1d927d232cc1ecefde3 (diff)
vue v2.7.16
Diffstat (limited to 'web/assets/js')
-rw-r--r--web/assets/js/model/outbound.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index 7f9882e0..c6fb6201 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -194,8 +194,7 @@ class WsStreamSettings extends CommonClass {
static fromJson(json={}) {
return new WsStreamSettings(
json.path,
- json.host,
- json.headers && !ObjectUtil.isEmpty(json.headers.Host) ? json.headers.Host : '',
+ json.host
);
}
@@ -289,8 +288,7 @@ class HttpUpgradeStreamSettings extends CommonClass {
static fromJson(json={}) {
return new HttpUpgradeStreamSettings(
json.path,
- json.host,
- json.headers && !ObjectUtil.isEmpty(json.headers.Host) ? json.headers.Host : '',
+ json.host
);
}