Skip to content

Commit

Permalink
#2980 fix cors doc (#3013)
Browse files Browse the repository at this point in the history
  • Loading branch information
hleb-albau authored and ebuchman committed Dec 15, 2018
1 parent 7c9e767 commit a75dab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tendermint-core/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ laddr = "tcp://0.0.0.0:26657"
cors_allowed_origins = []
# A list of methods the client is allowed to use with cross-domain requests
cors_allowed_methods = [HEAD GET POST]
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]
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
Expand Down

0 comments on commit a75dab4

Please sign in to comment.