Merge branch 'master' into free

This commit is contained in:
Chris Troutner
2020-08-08 09:59:32 -07:00
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -1,6 +1,5 @@
# bch-api
[![Greenkeeper badge](https://badges.greenkeeper.io/christroutner/bch-api.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/christroutner/bch-api.svg?branch=master)](https://travis-ci.org/christroutner/bch-api)
+1
View File
@@ -119,6 +119,7 @@ class RateLimits {
// If the request originates from one of the approved wallet apps, then
// apply paid-access rate limits.
const origin = req.get('origin')
wlogger.info(`origin: ${origin}`)
if (
origin &&
(origin.toString().indexOf('wallet.fullstack.cash') > -1 ||