update cors

This commit is contained in:
Iuri Matias 2018-11-06 07:53:51 -05:00
parent af8f6e0dca
commit ef024da0a9
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function createStatusPayload() {
(async () => {
let web3 = new Web3();
web3.setProvider(new Web3.providers.WebsocketProvider('ws://localhost:8546', {headers: {Origin: "http://localhost:8080"}}));
web3.setProvider(new Web3.providers.WebsocketProvider('ws://localhost:8546', {headers: {Origin: "statusjs"}}));
await web3.shh.setMinPoW(POW_TARGET);