shawenguan il y a 1 an
Parent
commit
3c559eb94d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      Scripts/dingdong/dingdongHelper.js

+ 2 - 0
Scripts/dingdong/dingdongHelper.js

@@ -7,6 +7,7 @@
 
 [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
 
@@ -31,6 +32,7 @@ let userAgent = 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleW
 async function Main() {
     magicJS.logger.info(magicJS.request.url);
     magicJS.logger.info(!!$request);
+    magicJS.logger.info(!!$response);
     if (magicJS.isRequest) {
         if(getCookieRegex.test(magicJS.request.url)){
             const cookie = magicJS.request.headers.Cookie;