diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html
index 12dd2060..28404eb6 100644
--- a/web/html/common/qrcode_modal.html
+++ b/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() {
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index a28d9f58..42b169fc 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/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 });
}
};