diff options
| author | Happ-dev <mangustyura15@gmail.com> | 2025-09-23 17:46:45 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-23 17:46:45 +0300 |
| commit | 8ff4e1ff316cc60d1fb408c074f6294393758f43 (patch) | |
| tree | d88a36fef03e1e57cf0a1c5f346654e3cee42ed6 /web | |
| parent | 26c6438ec2b32529ffb85454b60f7b996fec7692 (diff) | |
Add Happ client export open link (#3542)
Co-authored-by: y.sivushkin <y.sivushkin@corp.101xp.com>
Diffstat (limited to 'web')
| -rw-r--r-- | web/assets/js/subscription.js | 5 | ||||
| -rw-r--r-- | web/html/settings/panel/subscription/subpage.html | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/web/assets/js/subscription.js b/web/assets/js/subscription.js index 0af95890..c7627837 100644 --- a/web/assets/js/subscription.js +++ b/web/assets/js/subscription.js @@ -142,7 +142,10 @@ }, npvtunUrl() { return this.app.subUrl; - } + }, + happUrl() { + return `happ://add/${encodeURIComponent(this.app.subUrl)}`; + } }, methods: { renderLink, diff --git a/web/html/settings/panel/subscription/subpage.html b/web/html/settings/panel/subscription/subpage.html index 6d56496b..670cc37b 100644 --- a/web/html/settings/panel/subscription/subpage.html +++ b/web/html/settings/panel/subscription/subpage.html @@ -218,6 +218,8 @@ <a-menu-item key="android-npvtunnel" @click="copy(app.subUrl)">NPV Tunnel</a-menu-item> + <a-menu-item key="android-happ" + @click="open('happ://add/' + encodeURIComponent(app.subUrl))">Happ</a-menu-item> </a-menu> </a-dropdown> </a-col> @@ -244,6 +246,8 @@ @click="copy(npvtunUrl)">NPV Tunnel </a-menu-item> + <a-menu-item key="ios-happ" + @click="open(happUrl)">Happ</a-menu-item> </a-menu> </a-dropdown> </a-col> |
