245c0f0c2
d7097db02
1 2 3 4 5
6
7 8 9
// append dapp origin domain to request module.exports = createOriginMiddleware function createOriginMiddleware({ origin }) { return function originMiddleware (req, res, next, end) { req.origin = origin next() } }