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>2023-07-31 19:41:47 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-07-31 19:41:47 +0300
commitbf971911d50b26492fc27b4f904026ee73c0c918 (patch)
tree3bb247ea7cc44b22bdcd4c3fef7a72a1e4d07daf /web/assets
parentc46ced0c4c57bd9e243bca1b068017aa8a97f4b0 (diff)
log level & syslog
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/assets')
-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
);
}