fix dangerous cors config for directus-with-postgresql service
This commit is contained in:
parent
9ca65313ea
commit
c5ec79bbb8
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ services:
|
|||
- REDIS_PORT=6379
|
||||
- WEBSOCKETS_ENABLED=true
|
||||
- CORS_ENABLED=${CORS_ENABLED:-true}
|
||||
- CORS_ORIGIN=${CORS_ORIGIN:-true}
|
||||
- CORS_ORIGIN=${CORS_ORIGIN}
|
||||
- CORS_METHODS=${CORS_METHODS:-GET,POST,PATCH,DELETE,OPTIONS}
|
||||
- CORS_ALLOWED_HEADERS=${CORS_ALLOWED_HEADERS:-Content-Type,Authorization}
|
||||
- CORS_CREDENTIALS=${CORS_CREDENTIALS:-true}
|
||||
|
|
|
|||
Loading…
Reference in a new issue