shawenguan 1 年之前
父節點
當前提交
855394f8ac
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      Scripts/dingdong/dingdongHelper.js

+ 3 - 5
Scripts/dingdong/dingdongHelper.js

@@ -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];