feat: forbidden keyword

This commit is contained in:
lyc8503 committed 2025-03-25 00:01:50 +08:00
1 parent e448e95909
commit fe9e2ae2e0
4 files changed
+17 -2

No files matched your search

+2
View File
@@ -43,6 +43,8 @@ const workerConfig = {
body: 'Hello, world!',
// [OPTIONAL] if specified, the response must contains the keyword to be considered as operational.
responseKeyword: 'success',
// [OPTIONAL] if specified, the response must NOT contains the keyword to be considered as operational.
responseForbiddenKeyword: 'bad gateway',
// [OPTIONAL] if specified, the check will run in your specified region,
// refer to docs https://github.com/lyc8503/UptimeFlare/wiki/Geo-specific-checks-setup before setting this value
checkLocationWorkerRoute: 'https://xxx.example.com',