diff options
author | kumavis <aaron@kumavis.me> | 2017-09-14 06:29:44 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-09-14 06:29:44 +0800 |
commit | d7097db0221cf6b6958ceb65e9ce4c893a8dfb61 (patch) | |
tree | ea600326a76494dbb72b687d49f941eda0955c39 /app/scripts/lib | |
parent | 6ba448edaf64d1122ab0b5c8af21f9806164c309 (diff) | |
download | tangerine-wallet-browser-d7097db0221cf6b6958ceb65e9ce4c893a8dfb61.tar.gz tangerine-wallet-browser-d7097db0221cf6b6958ceb65e9ce4c893a8dfb61.tar.zst tangerine-wallet-browser-d7097db0221cf6b6958ceb65e9ce4c893a8dfb61.zip |
createOriginMiddleware - fix var name
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/createOriginMiddleware.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/createOriginMiddleware.js b/app/scripts/lib/createOriginMiddleware.js index f21d79512..e1e097cc4 100644 --- a/app/scripts/lib/createOriginMiddleware.js +++ b/app/scripts/lib/createOriginMiddleware.js @@ -3,7 +3,7 @@ module.exports = createOriginMiddleware function createOriginMiddleware({ origin }) { return function originMiddleware (req, res, next, end) { - req.origin = originDomain + req.origin = origin next() } }
\ No newline at end of file |