mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 17:22:04 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6dcaa2f24 | ||
|
|
698ac38251 |
@@ -137,7 +137,7 @@ class RateLimits {
|
|||||||
|
|
||||||
// Apply paid-access rate limits based on key/IP
|
// Apply paid-access rate limits based on key/IP
|
||||||
if (key.toString().indexOf('172.17.') > -1) {
|
if (key.toString().indexOf('172.17.') > -1) {
|
||||||
pointsToConsume = 0.1
|
pointsToConsume = 1
|
||||||
res.locals.pointsToConsume = pointsToConsume // Feedback for tests.
|
res.locals.pointsToConsume = pointsToConsume // Feedback for tests.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user