diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-04-17 12:11:33 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-04-17 12:11:33 +0300 |
| commit | d37dbb7dc81ee5957e72e1173a9aa9ea626240fb (patch) | |
| tree | 6bdfa105d42d6beaa8a455adc9a2f728c6e9767c /web/assets/js/model | |
| parent | a9f4c5fd77cd7c9f6606d1d927d232cc1ecefde3 (diff) | |
vue v2.7.16
Diffstat (limited to 'web/assets/js/model')
| -rw-r--r-- | web/assets/js/model/outbound.js | 6 |
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 ); } |
