From e6cb50ee47e86676c7df8984fc5d5ff6a72ee5b3 Mon Sep 17 00:00:00 2001
From: Peng-YM <1048217874pengym@gmail.com>
Date: Sun, 30 Aug 2020 21:52:17 +0800
Subject: [PATCH] Add config for Surge and Loon
---
backend/.idea/workspace.xml | 71 ++++++++++++++++++-------------------
config/Loon.plugin | 5 +++
config/Surge.sgmodule | 7 ++++
3 files changed, 46 insertions(+), 37 deletions(-)
create mode 100644 config/Loon.plugin
create mode 100644 config/Surge.sgmodule
diff --git a/backend/.idea/workspace.xml b/backend/.idea/workspace.xml
index c2c66ea..c36041e 100644
--- a/backend/.idea/workspace.xml
+++ b/backend/.idea/workspace.xml
@@ -19,10 +19,7 @@
-
-
-
-
+
@@ -78,7 +75,7 @@
-
+
@@ -98,161 +95,161 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/config/Loon.plugin b/config/Loon.plugin
new file mode 100644
index 0000000..dac7d34
--- /dev/null
+++ b/config/Loon.plugin
@@ -0,0 +1,5 @@
+[MITM]
+hostname=sub.store
+
+[Script]
+http-request https?:\/\/sub\.store script-path=https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/backend/sub-store.js, requires-body=true, timeout=120, tag=Sub-Store
\ No newline at end of file
diff --git a/config/Surge.sgmodule b/config/Surge.sgmodule
new file mode 100644
index 0000000..1c7713b
--- /dev/null
+++ b/config/Surge.sgmodule
@@ -0,0 +1,7 @@
+#!name=Sub-Store
+#!desc=http://sub.store
+[MITM]
+hostname=sub.store
+
+[Script]
+Sub-Store = type=http-request,pattern=^https?:\/\/sub\.store,script-path=https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/backend/sub-store.js,requires-body=true,timeout=120,debug=true