Merge pull request #14 from Permissionless-Software-Foundation/ct-unstable

Tracking origin of requests in logs
This commit is contained in:
Chris Troutner
2020-08-08 08:27:52 -07:00
committed by GitHub
+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 ||