I'm running a Tezos network locally using babylonnet.sh
. Works fine, can query for example ./babylonnet.sh client list known addresses
. Also works in browser for example http://127.0.0.1:8732/chains/main/blocks/head
.
When I try and run a local server, and connect I get a cors error:
localhost/:1
Failed to load http://localhost:8732/chains/main/blocks/head/context/contracts/tz1ZQu5ZwCBP6QeTDwkrUHiUBzHtXi9gFqGF/balance
: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:8000' is therefore not allowed access.
I can't see how to set the cors using babylonnet.sh
docker