From 1ce24a62828e9920efa7d7741b5f63f908c7c706 Mon Sep 17 00:00:00 2001 From: zramsay Date: Wed, 14 Nov 2018 15:48:55 -0500 Subject: [PATCH] docs: update config: ref #2800 & #2837 --- docs/tendermint-core/configuration.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/tendermint-core/configuration.md b/docs/tendermint-core/configuration.md index 8b3c3c22f..7052ca507 100644 --- a/docs/tendermint-core/configuration.md +++ b/docs/tendermint-core/configuration.md @@ -68,6 +68,17 @@ filter_peers = false # TCP or UNIX socket address for the RPC server to listen on laddr = "tcp://0.0.0.0:26657" +# A list of origins a cross-domain request can be executed from +# Default value '[]' disables cors support +# Use '["*"]' to allow any origin +cors_allowed_origins = "[]" + +# A list of methods the client is allowed to use with cross-domain requests +cors_allowed_methods = "[HEAD GET POST]" + +# A list of non simple headers the client is allowed to use with cross-domain requests +cors_allowed_headers = "[Origin Accept Content-Type X-Requested-With X-Server-Time]" + # TCP or UNIX socket address for the gRPC server to listen on # NOTE: This server only supports /broadcast_tx_commit grpc_laddr = ""