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:
Diffstat (limited to 'web/assets/js/model')
-rw-r--r--web/assets/js/model/xray.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js
index 94dc4eaa..bf766cf0 100644
--- a/web/assets/js/model/xray.js
+++ b/web/assets/js/model/xray.js
@@ -402,7 +402,7 @@ class HttpStreamSettings extends XrayCommonClass {
}
static fromJson(json={}) {
- return new HttpStreamSettings(json.path, json.host, json.sockopt);
+ return new HttpStreamSettings(json.path, json.host);
}
toJson() {
@@ -461,8 +461,7 @@ class GrpcStreamSettings extends XrayCommonClass {
static fromJson(json={}) {
return new GrpcStreamSettings(
json.serviceName,
- json.multiMode,
- json.sockopt
+ json.multiMode
);
}