mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
fix(bodyOrigin): Passing the original origin through the POST body
This commit is contained in:
@@ -147,6 +147,11 @@ class RateLimits {
|
||||
|
||||
wlogger.info(`origin: ${origin}`)
|
||||
|
||||
const bodyOrigin = req.body.origin
|
||||
if (bodyOrigin) {
|
||||
console.log(`bodyOrigin: ${bodyOrigin}`)
|
||||
}
|
||||
|
||||
// If the request originates from one of the approved wallet apps, then
|
||||
// apply paid-access rate limits.
|
||||
// console.log(`origin: ${JSON.stringify(origin, null, 2)}`)
|
||||
|
||||
Reference in New Issue
Block a user