fix(bodyOrigin): Passing the original origin through the POST body

This commit is contained in:
Chris Troutner
2021-02-24 13:50:38 -08:00
parent 71452f4834
commit 9aa3e5b52a
+5
View File
@@ -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)}`)