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() {
return this.app.subUrl;
}
},
happUrl() {
return `happ://add/${encodeURIComponent(this.app.subUrl)}`;
}
},
methods: {
renderLink,

View file

@ -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>