From ad18b11d56bc738330750af7ec2e30ac17bdb759 Mon Sep 17 00:00:00 2001
From: Peng-YM <1048217874pengym@gmail.com>
Date: Mon, 31 Aug 2020 00:57:06 +0800
Subject: [PATCH] =?UTF-8?q?QX=20header=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
backend/.idea/workspace.xml | 67 +++++++++++++++++++------------------
backend/sub-store.js | 4 +--
2 files changed, 36 insertions(+), 35 deletions(-)
diff --git a/backend/.idea/workspace.xml b/backend/.idea/workspace.xml
index 30f699c..5abf57a 100644
--- a/backend/.idea/workspace.xml
+++ b/backend/.idea/workspace.xml
@@ -79,7 +79,8 @@
-
+
+
@@ -99,161 +100,161 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/backend/sub-store.js b/backend/sub-store.js
index 243868e..998442b 100644
--- a/backend/sub-store.js
+++ b/backend/sub-store.js
@@ -8,7 +8,7 @@
* 2. 节点过滤,重命名,排序等。
* 3. 订阅拆分,组合。
*/
-const $ = API("sub-store", true);
+const $ = API("sub-store");
// Constants
const SUBS_KEY = "subs";
const COLLECTIONS_KEY = "collections";
@@ -2251,7 +2251,7 @@ function express(port = 3000) {
send(body = "") {
const response = {
- status: statusCode,
+ status: isQX ? `HTTP/1.1 ${statusCode}` : statusCode,
body,
headers,
};