mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 09:12:05 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
279c9b7bea | ||
|
|
56be614980 | ||
|
|
584037ebdd | ||
|
|
44230b73f7 | ||
|
|
b7f1eba6bd |
@@ -1,6 +1,5 @@
|
|||||||
# bch-api
|
# bch-api
|
||||||
|
|
||||||
[](https://greenkeeper.io/)
|
|
||||||
|
|
||||||
[](https://travis-ci.org/christroutner/bch-api)
|
[](https://travis-ci.org/christroutner/bch-api)
|
||||||
|
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ class RateLimits {
|
|||||||
// If the request originates from one of the approved wallet apps, then
|
// If the request originates from one of the approved wallet apps, then
|
||||||
// apply paid-access rate limits.
|
// apply paid-access rate limits.
|
||||||
const origin = req.get('origin')
|
const origin = req.get('origin')
|
||||||
|
wlogger.info(`origin: ${origin}`)
|
||||||
if (
|
if (
|
||||||
origin &&
|
origin &&
|
||||||
(origin.toString().indexOf('wallet.fullstack.cash') > -1 ||
|
(origin.toString().indexOf('wallet.fullstack.cash') > -1 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user