chore: update sub page URL (#3505)

* Fix: Shadowrocket link using base64 encoding

* chore: update url
This commit is contained in:
Harry NG
2025-09-18 17:11:52 +07:00
committed by GitHub
parent 170d24499e
commit c720008187
2 changed files with 18 additions and 5 deletions

View File

@@ -127,6 +127,18 @@
const base64Url = btoa(rawUrl);
const remark = encodeURIComponent(this.app.sId || 'Subscription');
return `shadowrocket://add/sub/${base64Url}?remark=${remark}`;
},
v2boxUrl() {
return `v2box://install-sub?url=${encodeURIComponent(this.app.subUrl)}&name=${encodeURIComponent(this.app.sId)}`;
},
streisandUrl() {
return `streisand://import/${encodeURIComponent(this.app.subUrl)}`;
},
v2raytunUrl() {
return this.app.subUrl;
},
npvtunUrl() {
return this.app.subUrl;
}
},
methods: {