Apply custom settings to app.toml
This commit is contained in:
parent
be1dc1ed8d
commit
7ec4939194
@ -60,4 +60,10 @@ function inline_jq() {
|
||||
-e 's/^timeout_precommit_delta =.*$/timeout_precommit_delta = "100ms"/' \
|
||||
-e 's/^timeout_commit =.*$/timeout_commit = "1s"/' \
|
||||
"template/.simapp/config/config.toml"
|
||||
|
||||
# Custom settings app.toml
|
||||
sed -i "" \
|
||||
-e 's/^enable =.*$/enable = true/' \
|
||||
-e 's/^enabled-unsafe-cors =.*$/enabled-unsafe-cors = true/' \
|
||||
"template/.simapp/config/app.toml"
|
||||
)
|
||||
|
||||
@ -78,7 +78,7 @@ global-labels = [
|
||||
[api]
|
||||
|
||||
# Enable defines if the API server should be enabled.
|
||||
enable = false
|
||||
enable = true
|
||||
|
||||
# Swagger defines if swagger documentation should automatically be registered.
|
||||
swagger = false
|
||||
@ -99,4 +99,4 @@ rpc-write-timeout = 0
|
||||
rpc-max-body-bytes = 1000000
|
||||
|
||||
# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk)
|
||||
enabled-unsafe-cors = false
|
||||
enabled-unsafe-cors = true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user