Skip to content

Commit

Permalink
chore:(docs) Update example cors in config.yaml. (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Davis authored Oct 2, 2020
1 parent ee47033 commit b80c4b2
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,21 @@ api:
enableOverrides: true
## CORS support is provided via chi middleware
## https://github.com/go-chi/cors
# cors:
# ## If allowedOrigins is nil or empty, value is set to ["*"].
# allowedOrigins:
# - ["*"]
# ## If allowedMethods is nil or empty, value is set to (HEAD, GET and POST).
# allowedMethods:
# - "HEAD"
# - "GET"
# - "POST"
# - "OPTIONS"
# ## Default value is [] but "Origin" is always appended to the list.
# allowedHeaders: []
# exposedHeaders: []
# allowedCredentials: false
# maxAge: 300
# cors:
# ## If allowedOrigins is nil or empty, value is set to ["*"].
# allowedOrigins: ["*"]
# ## If allowedMethods is nil or empty, value is set to (HEAD, GET and POST).
# allowedMethods:
# - "HEAD"
# - "GET"
# - "POST"
# - "OPTIONS"
# ## Default value is [] but "Origin" is always appended to the list.
# allowedHeaders: ["*"]
# exposedHeaders: []
# allowedCredentials: false
# maxAge: 300

##
## admin service configuration
##
Expand Down

0 comments on commit b80c4b2

Please sign in to comment.