mirror of
https://github.com/Kizuren/statusPage.git
synced 2025-12-21 21:16:09 +01:00
Updated config.js
This commit is contained in:
parent
f7cff81594
commit
e6edc8c54b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue