Skip to content

Commit

Permalink
chore: allow all CORS requests when running locally with plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasvdam committed Dec 12, 2024
1 parent 6b885fa commit e9720fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/local_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ $BIN config set client chain-id seda-1-local
if [[ "$INDEXING_PLUGIN" = true ]]; then
$BIN config set app streaming.abci.keys '["*"]'
$BIN config set app streaming.abci.plugin '"abci"'
# Technically this is not required for the plugin, but we'll usually want it when we're running locally.
sed -i '' 's/cors_allowed_origins = \[\]/cors_allowed_origins = \["*"\]/' $HOME/.sedad/config/config.toml
fi

# initialize the chain
Expand Down

0 comments on commit e9720fe

Please sign in to comment.