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] },