|
|
@@ -7,13 +7,11 @@
|
|
|
|
|
|
[rewrite_local]
|
|
|
|
|
|
-^https?:\/\/maicai\.api\.ddxq\.mobi url script-request-header https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/dingdong/dingdongHelper.js
|
|
|
-^https?:\/\/maicai\.api\.ddxq\.mobi url script-request-body https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/dingdong/dingdongHelper.js
|
|
|
-^https?:\/\/maicai\.api\.ddxq\.mobi url script-response-body https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/dingdong/dingdongHelper.js
|
|
|
+^https?:\/\/maicai.api.ddxq.mobi url script-request-body https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/dingdong/dingdongHelper.js
|
|
|
|
|
|
[MITM]
|
|
|
|
|
|
-hostname=maicai.api.ddxq.mobi
|
|
|
+hostname=maicai.api.ddxq.mobi,*.api.ddxq.mobi
|
|
|
|
|
|
********************************/
|
|
|
|
|
|
@@ -67,7 +65,7 @@ function handleRequest(){
|
|
|
const url = request.url;
|
|
|
const path = request.path;
|
|
|
magicJS.logger.info(`请求url=${url}#${$request.method}`);
|
|
|
- magicJS.logger.info(`path=8${path}`);
|
|
|
+ magicJS.logger.info(`path=${path}`);
|
|
|
// if(getCookieRegex.test(request.url)){
|
|
|
// const cookie = request.headers.Cookie;
|
|
|
// const body = request.url.split('?')[1];
|