From e36c719ef0ac1b9435b3731bf0a9438db8b16bce Mon Sep 17 00:00:00 2001 From: Peng-YM <1048217874pengym@gmail.com> Date: Mon, 31 Aug 2020 02:14:45 +0800 Subject: [PATCH] Change Domain --- backend/.idea/workspace.xml | 5 +++-- config/Loon.plugin | 4 ++-- config/Surge.sgmodule | 4 ++-- web/src/config.js | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/backend/.idea/workspace.xml b/backend/.idea/workspace.xml index 8e288f2..3f2b08e 100644 --- a/backend/.idea/workspace.xml +++ b/backend/.idea/workspace.xml @@ -20,7 +20,8 @@ - + + diff --git a/config/Loon.plugin b/config/Loon.plugin index 5b10965..dac7d34 100644 --- a/config/Loon.plugin +++ b/config/Loon.plugin @@ -1,5 +1,5 @@ [MITM] -hostname=sub.com +hostname=sub.store [Script] -http-request https?:\/\/sub\.com 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 +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 index a947612..ecc9bc7 100644 --- a/config/Surge.sgmodule +++ b/config/Surge.sgmodule @@ -1,7 +1,7 @@ #!name=Sub-Store #!desc=高级订阅管理工具 @Peng-YM [MITM] -hostname=sub.com +hostname=sub.store [Script] -Sub-Store = type=http-request,pattern=^https?:\/\/sub\.com,script-path=sub-store.js,requires-body=true,timeout=120,debug=true +Sub-Store = type=http-request,pattern=^https?:\/\/sub\.store,script-path=sub-store.js,requires-body=true,timeout=120 diff --git a/web/src/config.js b/web/src/config.js index 000cb7e..e770cfa 100644 --- a/web/src/config.js +++ b/web/src/config.js @@ -1,3 +1,3 @@ const DEBUG = false; -export const BACKEND_BASE = DEBUG ? `http://192.168.1.134:3000` : `https://sub.com`; \ No newline at end of file +export const BACKEND_BASE = DEBUG ? `http://192.168.1.134:3000` : `https://sub.store`; \ No newline at end of file