mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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.
This commit is contained in:
parent
37979fca68
commit
8cc8fecdac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user