mirror of
https://github.com/Kizuren/statusPage.git
synced 2025-12-21 21:16:09 +01:00
Repaired SD
This commit is contained in:
parent
8f29d301c5
commit
955f1a0f2c
1 changed files with 2 additions and 2 deletions
|
|
@ -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]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue