From e6edc8c54bf2cb25c847f87c8b0b8f6a67594b57 Mon Sep 17 00:00:00 2001 From: MarcUs7i <96580944+MarcUs7i@users.noreply.github.com> Date: Sun, 23 Feb 2025 00:09:01 +0100 Subject: [PATCH] Updated config.js --- config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index a4b7406..31cd902 100644 --- a/config.js +++ b/config.js @@ -80,7 +80,7 @@ export default { request : { // optional, fetch options method: 'GET', }, - mustFind : 'Home', // optional, String | Array | Regex | Function | AsyncFunction + mustFind : '', // optional, String | Array | Regex | Function | AsyncFunction mustNotFind : ["Page not found", "cloudflare"], // 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] @@ -109,7 +109,7 @@ export default { mustFind : '{\"detail\":\"Not authenticated\"}', // optional, String | Array | Regex | Function | AsyncFunction mustNotFind : ["Page not found", "cloudflare"], // 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, 401], // optional, Which http status should be considered non errors [defaults to 200-299] + validStatus : [200, 401, 403], // optional, Which http status should be considered non errors [defaults to 200-299] }, { id : 'sd', // optional