Use stricter expression to change CORS settings for Tendermint

This commit is contained in:
Simon Warta 2020-08-18 14:58:02 +02:00
parent 6e69769950
commit 8917069e52

View File

@ -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 \