From 8ab15efd777880e7de6907c744d57332991c81bd Mon Sep 17 00:00:00 2001 From: CareyWong Date: Wed, 1 Apr 2020 15:29:58 +0800 Subject: [PATCH] Optimize: clash install use short url if exists --- src/views/Subconverter.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/Subconverter.vue b/src/views/Subconverter.vue index e8c1155..9038e83 100644 --- a/src/views/Subconverter.vue +++ b/src/views/Subconverter.vue @@ -6,6 +6,7 @@
Subscription Converter +
{{ backendVersion }}
@@ -366,7 +367,7 @@ export default { } const url = "clash://install-config?url="; - window.open(url + encodeURIComponent(this.customSubUrl)); + window.open(url + encodeURIComponent(this.curtomShortSubUrl !== '' ? this.curtomShortSubUrl : this.customSubUrl)); }, surgeInstall() { if (this.customSubUrl === "") {