From d37dbb7dc81ee5957e72e1173a9aa9ea626240fb Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Wed, 17 Apr 2024 12:41:33 +0330 Subject: vue v2.7.16 --- web/assets/js/model/outbound.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'web/assets/js/model') 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 ); } -- cgit v1.2.3