mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-12 18:04:29 +01:00
Fix example error codes
This commit is contained in:
parent
9aba0560a1
commit
d7763b688d
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
"windowMs": 900000, // 15 minutes
|
"windowMs": 900000, // 15 minutes
|
||||||
"max": 20, // 20 requests in 15min time window
|
"max": 20, // 20 requests in 15min time window
|
||||||
"message": "Too many votes, please try again later",
|
"message": "Too many votes, please try again later",
|
||||||
"statusCode": 200
|
"statusCode": 429
|
||||||
},
|
},
|
||||||
"view": {
|
"view": {
|
||||||
"windowMs": 900000, // 15 minutes
|
"windowMs": 900000, // 15 minutes
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
"windowMs": 900000,
|
"windowMs": 900000,
|
||||||
"max": 20,
|
"max": 20,
|
||||||
"message": "Too many votes, please try again later",
|
"message": "Too many votes, please try again later",
|
||||||
"statusCode": 200
|
"statusCode": 429
|
||||||
},
|
},
|
||||||
"view": {
|
"view": {
|
||||||
"windowMs": 900000,
|
"windowMs": 900000,
|
||||||
|
|
Loading…
Reference in a new issue