Use stricter expression to change CORS settings for Tendermint
This commit is contained in:
parent
6e69769950
commit
8917069e52
@ -26,7 +26,7 @@ docker run --rm \
|
||||
|
||||
# make sure we allow cors origins, only possible by modifying the config file
|
||||
# https://github.com/tendermint/tendermint/issues/3216
|
||||
sed -ie 's/cors_allowed_origins.*$/cors_allowed_origins = ["*"]/' "${TMP_DIR}/config/config.toml"
|
||||
sed -ie 's/^cors_allowed_origins.*$/cors_allowed_origins = ["*"]/' "${TMP_DIR}/config/config.toml"
|
||||
|
||||
# must enable tx index for search and subscribe
|
||||
docker run --rm \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user