From 4521beab7c245a3420ae558ce34c37fb9ed1a53d Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sun, 26 Apr 2026 20:06:24 +0200 Subject: wireguard: link --- web/html/modals/inbound_info_modal.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'web/html') diff --git a/web/html/modals/inbound_info_modal.html b/web/html/modals/inbound_info_modal.html index 14b1d86b..67da21a9 100644 --- a/web/html/modals/inbound_info_modal.html +++ b/web/html/modals/inbound_info_modal.html @@ -513,9 +513,19 @@
+ Link + + Link + + + + + [[ infoModal.wireguardLinks[index] ]] + @@ -603,6 +613,7 @@ upStats: 0, downStats: 0, links: [], + wireguardLinks: [], index: null, isExpired: false, subLink: '', @@ -633,9 +644,11 @@ } } if (this.inbound.protocol == Protocols.WIREGUARD) { - this.links = this.inbound.genInboundLinks(dbInbound.remark).split('\r\n') + this.links = this.inbound.genWireguardConfigs(dbInbound.remark).split('\r\n') + this.wireguardLinks = this.inbound.genWireguardLinks(dbInbound.remark).split('\r\n') } else { this.links = this.inbound.genAllLinks(this.dbInbound.remark, app.remarkModel, this.clientSettings); + this.wireguardLinks = []; } if (this.clientSettings) { if (this.clientSettings.subId) { -- cgit v1.2.3