diff --git a/web/assets/js/model/dbinbound.js b/web/assets/js/model/dbinbound.js index 57bc7c08..e39181a0 100644 --- a/web/assets/js/model/dbinbound.js +++ b/web/assets/js/model/dbinbound.js @@ -60,6 +60,10 @@ class DBInbound { return this.protocol === Protocols.WIREGUARD; } + get isMasque() { + return this.protocol === Protocols.MASQUE; + } + get address() { let address = location.hostname; if (!ObjectUtil.isEmpty(this.listen) && this.listen !== "0.0.0.0") { diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html index 19479bd9..fb111bf3 100644 --- a/web/html/common/qrcode_modal.html +++ b/web/html/common/qrcode_modal.html @@ -34,7 +34,8 @@ width="560px" :class="themeSwitcher.currentTheme">