Pārlūkot izejas kodu

[sub] support client-side group name

Co-Authored-By: Alireza Ahmadi <[email protected]>
MHSanaei 1 gadu atpakaļ
vecāks
revīzija
147999dd88

+ 1 - 1
web/html/common/qrcode_modal.html

@@ -86,7 +86,7 @@
             },
             genSubLink(subID) {
                 const { domain: host, port, tls: isTLS, path: base } = app.subSettings;
-                return buildURL({ host, port, isTLS, base, path: subID });
+                return buildURL({ host, port, isTLS, base, path: subID+'?name='+subID });
             }
         },
         updated() {

+ 1 - 1
web/html/xui/inbound_info_modal.html

@@ -295,7 +295,7 @@
         },
         genSubLink(subID) {
             const { domain: host, port, tls: isTLS, path: base } = app.subSettings;
-            return buildURL({ host, port, isTLS, base, path: subID });
+            return buildURL({ host, port, isTLS, base, path: subID+'?name='+subID });
         }
     };