zilpay / zil-pay

ZilPay browser extension enables browsing Zilliqa blockchain enabled websites.
https://zilpay.io
Other
3 stars 1 forks source link

contentScript.js:23 Cross-Origin Read Blocking (CORB) blocked cross-origin response http://127.0.0.1:4200/ with MIME type application/json. #21

Closed SvenMeyer closed 4 years ago

SvenMeyer commented 4 years ago

Trying to access kaya local block chain from Zilpay.

$ node src/server.js -v -f test/account-fixtures.json

ZILLIQA KAYA RPC SERVER (ver: 0.2.9)
Server listening on 127.0.0.1:4200
Running from remote interpreter
...
      const zilliqa = window.zilPay;
      const blockchain = zilliqa.blockchain;
      const result = await blockchain.getBlockChainInfo();

Chrome console:

contentScript.js:23 Cross-Origin Read Blocking (CORB) blocked cross-origin response http://127.0.0.1:4200/ with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.

Chrome Network: Request Payload

{"id":1,"jsonrpc":"2.0","method":"GetBlockchainInfo","params":[]}

image

SvenMeyer commented 4 years ago

It is working on Testnet.

hicaru commented 4 years ago

Thanks for your issue i will fixed it. I will just add new permissions to manifest.json

hicaru commented 4 years ago

fixed by release 0.3.5