Closed abelliumnt closed 5 years ago
What serializer are you using? [] are not forbidden in strings https://github.com/toml-lang/toml#user-content-string nor do they require escaping.
@HaoyangLiu try without quotes
cors_allowed_origins = []
cors_allowed_methods = [HEAD GET POST]
cors_allowed_headers = [Origin Accept Content-Type X-Requested-With X-Server-Time]
cors_allowed_headers = "[Origin Accept Content-Type X-Requested-With X-Server-Time]"
@hleb-albau
The above value is automatically generated by tendermint init
cors_allowed_headers = "[Origin Accept Content-Type X-Requested-With X-Server-Time]"
@hleb-albau The above value is automatically generated by
tendermint init
If it without quotes works for you, I will provide pr fixing init.
yeah, already fixed by @melekes . I also fixed docs in https://github.com/tendermint/tendermint/pull/3013
@hleb-albau Well done!
Thanks folks!
config.toml file
Load result:
It seems that the string array is not well supported by toml serializer. @hleb-albau
Besides, if you repeat to execute tendermint init on the same home, these following sections will be very large.