diff --git a/scripts/tendermint/start.sh b/scripts/tendermint/start.sh index eefe8b83..e211181e 100755 --- a/scripts/tendermint/start.sh +++ b/scripts/tendermint/start.sh @@ -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 \