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:
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: {