Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry NG <90631770+harryngne@users.noreply.github.com>2025-09-18 13:11:52 +0300
committerGitHub <noreply@github.com>2025-09-18 13:11:52 +0300
commitc720008187e36daeb7ac9799916c5ad16e1c57bf (patch)
tree2029e75ff91f69b5ec1088f8714ded62ea327841 /web/assets
parent170d24499e5dff91bda121d0b46190de7156ce78 (diff)
chore: update sub page URL (#3505)
* Fix: Shadowrocket link using base64 encoding * chore: update url
Diffstat (limited to 'web/assets')
-rw-r--r--web/assets/js/subscription.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/assets/js/subscription.js b/web/assets/js/subscription.js
index e5916dc4..2c731be3 100644
--- a/web/assets/js/subscription.js
+++ b/web/assets/js/subscription.js
@@ -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: {