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:
authorShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-03-09 08:37:50 +0300
committerShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-03-09 08:37:50 +0300
commita23a5de540e59dfed05e07eb17dc45e6cb8c2341 (patch)
treeb6fbc6eddf49d4694e67d6bff2d5d0324c442032 /web/assets/js/model/inbound.js
parenta16e83468b84ee01c7f0ff4b210cf74f702e0a16 (diff)
Revert "chore: add new grpc params for outbound (#2744)"
This reverts commit c49ec9a74cf1c407cbe872355f1e2ac03a8e3080.
Diffstat (limited to 'web/assets/js/model/inbound.js')
-rw-r--r--web/assets/js/model/inbound.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js
index d08553d9..5c3235e1 100644
--- a/web/assets/js/model/inbound.js
+++ b/web/assets/js/model/inbound.js
@@ -420,17 +420,20 @@ class WsStreamSettings extends XrayCommonClass {
class GrpcStreamSettings extends XrayCommonClass {
constructor(
serviceName = "",
- authority = ""
+ authority = "",
+ multiMode = false,
) {
super();
this.serviceName = serviceName;
this.authority = authority;
+ this.multiMode = multiMode;
}
static fromJson(json = {}) {
return new GrpcStreamSettings(
json.serviceName,
json.authority,
+ json.multiMode
);
}
@@ -438,6 +441,7 @@ class GrpcStreamSettings extends XrayCommonClass {
return {
serviceName: this.serviceName,
authority: this.authority,
+ multiMode: this.multiMode,
}
}
}