From a9a68be9f6debb9366ff70b69f730270eda984f9 Mon Sep 17 00:00:00 2001 From: Peng-YM <1048217874pengym@gmail.com> Date: Mon, 5 Oct 2020 12:12:32 +0800 Subject: [PATCH] Delete backend for QX --- config/QX.conf | 5 +---- web/src/views/Subscription.vue | 11 +---------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/config/QX.conf b/config/QX.conf index 6954b30..dfbcb49 100644 --- a/config/QX.conf +++ b/config/QX.conf @@ -5,7 +5,4 @@ [mitm] # 添加一个sub.store域名 hostname=sub.store -simple_cert_hostname=sub.store - -[http_backend] -https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/backend/sub-store.min.js, tag=Sub-Store, path=/, enabled=true, img-url=https://raw.githubusercontent.com/58xinian/icon/master/Sub-Store1.png \ No newline at end of file +simple_cert_hostname=sub.store \ No newline at end of file diff --git a/web/src/views/Subscription.vue b/web/src/views/Subscription.vue index 50c3190..fe7e8ba 100644 --- a/web/src/views/Subscription.vue +++ b/web/src/views/Subscription.vue @@ -185,16 +185,7 @@ export default { computed: { subscriptionBaseURL() { - const backend = this.$store.state.env.backend; - switch (backend) { - case "QX": - return "http://127.0.0.1:9999"; - case "Node": - case "Surge": - case "Loon": - default: - return BACKEND_BASE; - } + return BACKEND_BASE; }, subscriptions() { const subs = this.$store.state.subscriptions;