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/outbound.js')
-rw-r--r--web/assets/js/model/outbound.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index c6fb6201..1cb1df21 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -690,12 +690,12 @@ class Outbound extends CommonClass {
url.searchParams.get('quicSecurity') ?? 'none',
url.searchParams.get('key') ?? '',
headerType ?? 'none');
- } else if (type === 'grpc') {
- stream.grpc = new GrpcStreamSettings(
- url.searchParams.get('serviceName') ?? '',
- url.searchParams.get('authority') ?? '',
- url.searchParams.get('mode') == 'multi');
- } else if (type === 'httpupgrade') {
+ } else if (type === 'grpc') {
+ stream.grpc = new GrpcStreamSettings(
+ url.searchParams.get('serviceName') ?? '',
+ url.searchParams.get('authority') ?? '',
+ url.searchParams.get('mode') == 'multi');
+ } else if (type === 'httpupgrade') {
stream.httpupgrade = new HttpUpgradeStreamSettings(path,host);
}