spur no longer blocks literally everything
This commit is contained in:
parent
4e771c9638
commit
ab81bd17e8
2 changed files with 4 additions and 6 deletions
|
@ -6,7 +6,7 @@ port = 3000
|
|||
|
||||
[whitelister]
|
||||
# Fail if a test returns a warning. This is not implemented by any tests yet.
|
||||
failOnWarn = true
|
||||
failOnWarn = false
|
||||
|
||||
[mysql]
|
||||
# MySQL connection information, used to cache IP addresses and results
|
||||
|
|
|
@ -33,11 +33,9 @@ export class SpurTest implements Test {
|
|||
if (res.includes("Rate Limit Exceeded")) {
|
||||
return TestResult.ERROR;
|
||||
}
|
||||
if (
|
||||
res.includes("fa-question") ||
|
||||
res.includes("circleimg") ||
|
||||
res.includes("fa-key")
|
||||
) {
|
||||
if (res.includes("fa-question")) {
|
||||
return TestResult.WARN;
|
||||
} else if (res.includes("circleimg") || res.includes("fa-key")) {
|
||||
return TestResult.FAIL;
|
||||
}
|
||||
return TestResult.PASS;
|
||||
|
|
Loading…
Reference in a new issue