Add Happ client export open link

This commit is contained in:
y.sivushkin 2025-09-23 11:40:58 +03:00
parent b3e96230c4
commit dce3829ce6
2 changed files with 8 additions and 1 deletions

View file

@ -142,7 +142,10 @@
}, },
npvtunUrl() { npvtunUrl() {
return this.app.subUrl; return this.app.subUrl;
} },
happUrl() {
return `happ://add/${encodeURIComponent(this.app.subUrl)}`;
}
}, },
methods: { methods: {
renderLink, renderLink,

View file

@ -218,6 +218,8 @@
<a-menu-item key="android-npvtunnel" <a-menu-item key="android-npvtunnel"
@click="copy(app.subUrl)">NPV @click="copy(app.subUrl)">NPV
Tunnel</a-menu-item> Tunnel</a-menu-item>
<a-menu-item key="android-happ"
@click="open('happ://add/' + encodeURIComponent(app.subUrl))">Happ</a-menu-item>
</a-menu> </a-menu>
</a-dropdown> </a-dropdown>
</a-col> </a-col>
@ -244,6 +246,8 @@
@click="copy(npvtunUrl)">NPV @click="copy(npvtunUrl)">NPV
Tunnel Tunnel
</a-menu-item> </a-menu-item>
<a-menu-item key="ios-happ"
@click="open(happUrl)">Happ</a-menu-item>
</a-menu> </a-menu>
</a-dropdown> </a-dropdown>
</a-col> </a-col>