From af0baba7272af1c0df31f278e7d52872a20954da Mon Sep 17 00:00:00 2001
From: Peng-YM <1048217874pengym@gmail.com>
Date: Tue, 1 Sep 2020 00:39:15 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=87=E6=BB=A4=E6=97=A0?=
=?UTF-8?q?=E6=95=88=E8=8A=82=E7=82=B9=E7=9A=84bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
backend/.idea/workspace.xml | 72 +++++++++++++++++--------------------
backend/sub-store.js | 5 ++-
web/src/config.js | 2 +-
3 files changed, 38 insertions(+), 41 deletions(-)
diff --git a/backend/.idea/workspace.xml b/backend/.idea/workspace.xml
index 9d91c2c..fbde46c 100644
--- a/backend/.idea/workspace.xml
+++ b/backend/.idea/workspace.xml
@@ -22,13 +22,7 @@
-
-
-
-
-
-
@@ -93,7 +87,7 @@
-
+
@@ -113,7 +107,7 @@
-
+
@@ -121,10 +115,10 @@
-
+
-
+
@@ -132,10 +126,10 @@
-
+
-
+
@@ -143,10 +137,10 @@
-
+
-
+
@@ -154,10 +148,10 @@
-
+
-
+
@@ -165,10 +159,10 @@
-
+
-
+
@@ -176,10 +170,10 @@
-
+
-
+
@@ -187,10 +181,10 @@
-
+
-
+
@@ -198,10 +192,10 @@
-
+
-
+
@@ -209,10 +203,10 @@
-
+
-
+
@@ -220,10 +214,10 @@
-
+
-
+
@@ -231,10 +225,10 @@
-
+
-
+
@@ -242,10 +236,10 @@
-
+
-
+
@@ -253,10 +247,10 @@
-
+
-
+
@@ -264,10 +258,10 @@
-
+
-
+
@@ -275,10 +269,10 @@
-
+
-
+
@@ -286,7 +280,7 @@
-
+
diff --git a/backend/sub-store.js b/backend/sub-store.js
index 99168e3..b4180fc 100644
--- a/backend/sub-store.js
+++ b/backend/sub-store.js
@@ -1650,7 +1650,10 @@ function UselessFilter() {
const KEYWORDS = ["网址", "流量", "时间", "应急", "过期", "Bandwidth", "expire"];
return {
name: "Useless Filter",
- func: DiscardKeywordFilter(KEYWORDS).func
+ func: KeywordFilter({
+ keywords: KEYWORDS,
+ keep: false
+ }).func
}
}
diff --git a/web/src/config.js b/web/src/config.js
index 77f362b..e770cfa 100644
--- a/web/src/config.js
+++ b/web/src/config.js
@@ -1,3 +1,3 @@
-const DEBUG = true;
+const DEBUG = false;
export const BACKEND_BASE = DEBUG ? `http://192.168.1.134:3000` : `https://sub.store`;
\ No newline at end of file