Skip to content
Snippets Groups Projects
Commit d0afbe70 authored by Christian Pointner's avatar Christian Pointner
Browse files

disable cors header by default

parent 4315cc8b
No related branches found
No related tags found
No related merge requests found
......@@ -36,13 +36,13 @@ auth:
### uncomment to enable CORS headers
### see: https://godoc.org/github.com/rs/cors#Options
cors:
allowed-origins: ['*']
allowed-methods:
- GET
- PUT
- POST
- PATCH
- DELETE
allowed-headers: ['*']
max-age: 10
# cors:
# allowed-origins: ['*']
# allowed-methods:
# - GET
# - PUT
# - POST
# - PATCH
# - DELETE
# allowed-headers: ['*']
# max-age: 10
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment