From 955f1a0f2cdea9407aee5e3254f78bfd86307f3c Mon Sep 17 00:00:00 2001 From: MarcUs7 <96580944+MarcUs7i@users.noreply.github.com> Date: Thu, 2 Jan 2025 21:21:33 +0100 Subject: [PATCH] Repaired SD --- config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 159e420..f56dbcc 100644 --- a/config.js +++ b/config.js @@ -150,8 +150,8 @@ export default { request : { // optional, fetch options method: 'GET', }, - mustFind : 'Login', // optional, String | Array | Regex | Function | AsyncFunction - mustNotFind : ["Page not found", "cloudflare"], // optional, String | Array | Regex | Function | AsyncFunction + mustFind : '', // optional, String | Array | Regex | Function | AsyncFunction + mustNotFind : ["Page not found"], // optional, String | Array | Regex | Function | AsyncFunction customCheck : async (content, response)=>{return true;}, // optional, Function | AsyncFunction -> Run your own custom checks return false in case of errors validStatus : [200], // optional, Which http status should be considered non errors [defaults to 200-299] },