cors config
This commit is contained in:
parent
47b01ec3c2
commit
5c0b128d5e
|
@ -64,6 +64,7 @@ func MakeNode(inputDir string) *node.Node {
|
||||||
set.Bool("rpc", true, "enable rpc")
|
set.Bool("rpc", true, "enable rpc")
|
||||||
set.String("rpcaddr", "localhost", "host for RPC")
|
set.String("rpcaddr", "localhost", "host for RPC")
|
||||||
set.String("rpcport", "8545", "rpc port")
|
set.String("rpcport", "8545", "rpc port")
|
||||||
|
set.String("rpccorsdomain", "*", "allow all domains")
|
||||||
set.String("verbosity", "3", "verbosity level")
|
set.String("verbosity", "3", "verbosity level")
|
||||||
set.String("rpcapi", "db,eth,net,web3,shh,personal,admin", "rpc api(s)")
|
set.String("rpcapi", "db,eth,net,web3,shh,personal,admin", "rpc api(s)")
|
||||||
set.String("datadir", datadir, "data directory for geth")
|
set.String("datadir", datadir, "data directory for geth")
|
||||||
|
|
Loading…
Reference in New Issue