aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorAdam Novak <interfect@gmail.com>2017-10-02 09:55:52 +0800
committerAdam Novak <interfect@gmail.com>2017-10-02 09:55:52 +0800
commit8cc8fecdacb8dbc355e74bd6958ff4a4565b9346 (patch)
treec66627901937ac9b5797b6b597ab41159c22dcf4 /app
parent37979fca68786d20dcdd7edc3d4127ef1ec6afb1 (diff)
downloadtangerine-wallet-browser-8cc8fecdacb8dbc355e74bd6958ff4a4565b9346.tar
tangerine-wallet-browser-8cc8fecdacb8dbc355e74bd6958ff4a4565b9346.tar.gz
tangerine-wallet-browser-8cc8fecdacb8dbc355e74bd6958ff4a4565b9346.tar.bz2
tangerine-wallet-browser-8cc8fecdacb8dbc355e74bd6958ff4a4565b9346.tar.lz
tangerine-wallet-browser-8cc8fecdacb8dbc355e74bd6958ff4a4565b9346.tar.xz
tangerine-wallet-browser-8cc8fecdacb8dbc355e74bd6958ff4a4565b9346.tar.zst
tangerine-wallet-browser-8cc8fecdacb8dbc355e74bd6958ff4a4565b9346.zip
Don't pass origin as an HTTP header
Requests with this nonstandard header are being blocked by CORS when made against Parity. Not sending it ought to fix #1779.
Diffstat (limited to 'app')
-rw-r--r--app/scripts/metamask-controller.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 03e021a92..1a468b6c7 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -221,7 +221,6 @@ module.exports = class MetamaskController extends EventEmitter {
eth_syncing: false,
web3_clientVersion: `MetaMask/v${version}`,
},
- originHttpHeaderKey: 'X-Metamask-Origin',
// account mgmt
getAccounts: (cb) => {
const isUnlocked = this.keyringController.memStore.getState().isUnlocked