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:
-rw-r--r--web/assets/js/subscription.js2
-rw-r--r--web/html/settings/panel/subscription/subpage.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/assets/js/subscription.js b/web/assets/js/subscription.js
index b79d361c..228dcfa0 100644
--- a/web/assets/js/subscription.js
+++ b/web/assets/js/subscription.js
@@ -144,7 +144,7 @@
return this.app.subUrl;
},
happUrl() {
- return `happ://add/${encodeURIComponent(this.app.subUrl)}`;
+ return `happ://add/${this.app.subUrl}`;
}
},
methods: {
diff --git a/web/html/settings/panel/subscription/subpage.html b/web/html/settings/panel/subscription/subpage.html
index c59f68ee..794c67c3 100644
--- a/web/html/settings/panel/subscription/subpage.html
+++ b/web/html/settings/panel/subscription/subpage.html
@@ -206,7 +206,7 @@
<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>
+ @click="open('happ://add/' + app.subUrl)">Happ</a-menu-item>
</a-menu>
</a-dropdown>
</a-col>