mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
Open up CORS in simapp tendermint config
This commit is contained in:
parent
e8443f44f9
commit
6e69769950
@ -52,6 +52,7 @@ function inline_jq() {
|
||||
|
||||
# Custom settings in config.toml
|
||||
sed -i "" \
|
||||
-e 's/^cors_allowed_origins.*$/cors_allowed_origins = ["*"]/' \
|
||||
-e 's/^timeout_propose =.*$/timeout_propose = "300ms"/' \
|
||||
-e 's/^timeout_propose_delta =.*$/timeout_propose_delta = "100ms"/' \
|
||||
-e 's/^timeout_prevote =.*$/timeout_prevote = "300ms"/' \
|
||||
|
@ -86,7 +86,7 @@ laddr = "tcp://127.0.0.1:26657"
|
||||
# A list of origins a cross-domain request can be executed from
|
||||
# Default value '[]' disables cors support
|
||||
# Use '["*"]' to allow any origin
|
||||
cors_allowed_origins = []
|
||||
cors_allowed_origins = ["*"]
|
||||
|
||||
# A list of methods the client is allowed to use with cross-domain requests
|
||||
cors_allowed_methods = ["HEAD", "GET", "POST", ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user