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:
authorTara Rostami <132676256+TaraRostami@users.noreply.github.com>2024-04-20 21:45:36 +0300
committerGitHub <noreply@github.com>2024-04-20 21:45:36 +0300
commitdb24d216210e0038f92e634de1ab8a46fbce4632 (patch)
tree3648326a1e359543febd865747822bc6f8f72781 /web/assets/js/model/outbound.js
parent3d5c06bf08f0ede7206e0ef39966d6be2106a225 (diff)
UI Improvements (#2228)
* UI Improvements Better Table Update QR Code Modal Better Info Modal Compression HTML files Better Dropdown Menu Better Calendar and more .. Remove files Minor Fixes
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);
}