Fixing bug

This commit is contained in:
Chris Troutner
2020-10-01 20:51:01 -07:00
parent b4823be86a
commit c664758654
+1 -1
View File
@@ -138,7 +138,7 @@ class RateLimits {
// Apply paid-access rate limits based on key/IP
if (
key.toString().indexOf('172.17.') > -1 ||
key.toString.indexOf('::ffff:127.0.0.1') > -1
key.toString().indexOf('::ffff:127.0.0.1') > -1
) {
pointsToConsume = 1
res.locals.pointsToConsume = pointsToConsume // Feedback for tests.