mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-17 20:54:40 +03:00
@@ -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