diff --git a/stack-orchestrator/config/fixturenet-laconicd/create-fixturenet.sh b/stack-orchestrator/config/fixturenet-laconicd/create-fixturenet.sh index d9de757..5e24c0f 100644 --- a/stack-orchestrator/config/fixturenet-laconicd/create-fixturenet.sh +++ b/stack-orchestrator/config/fixturenet-laconicd/create-fixturenet.sh @@ -89,6 +89,9 @@ if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data/blockstore.db" ]; then sed -i 's/prometheus = false/prometheus = true/g' $HOME/.laconicd/config/config.toml fi + # Run this to allow requests from any origin + sed -i 's/cors_allowed_origins.*$/cors_allowed_origins = ["*"]/' $HOME/.laconicd/config/config.toml + # Allocate genesis accounts (cosmos formatted addresses) laconicd genesis add-genesis-account $KEY 100000000000000000000000000photon --keyring-backend $KEYRING diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/README.md b/stack-orchestrator/stacks/fixturenet-laconicd/README.md index 356950d..ee898b7 100644 --- a/stack-orchestrator/stacks/fixturenet-laconicd/README.md +++ b/stack-orchestrator/stacks/fixturenet-laconicd/README.md @@ -34,9 +34,9 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso This should create the following docker images locally: * `cerc/laconic2d` - * `cerc/laconic2-registry-cli` + * `cerc/laconic-registry-cli` * `cerc/webapp-base` - * `cerc/laconic2-console-host` + * `cerc/laconic-console-host` ## Create a deployment