#2980 fix cors doc (#3013)

This commit is contained in:
Hleb Albau
2018-12-15 23:32:35 +03:00
committed by Ethan Buchman
parent 7c9e767e1f
commit a75dab492c

View File

@@ -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