Browse Source

#2980 fix cors doc (#3013)

pull/3023/head
Hleb Albau 6 years ago
committed by Ethan Buchman
parent
commit
a75dab492c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docs/tendermint-core/configuration.md

+ 2
- 2
docs/tendermint-core/configuration.md View File

@ -81,10 +81,10 @@ laddr = "tcp://0.0.0.0:26657"
cors_allowed_origins = [] cors_allowed_origins = []
# A list of methods the client is allowed to use with cross-domain requests # 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 # 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 # TCP or UNIX socket address for the gRPC server to listen on
# NOTE: This server only supports /broadcast_tx_commit # NOTE: This server only supports /broadcast_tx_commit


Loading…
Cancel
Save