mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-29 18:52:32 +07:00
co-authored by
Alireza Ahmadi
parent
c46ced0c4c
commit
bf971911d5
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user