mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Default CORS to disabled (#12022)
* Default CORS to disabled * Update docs to match
This commit is contained in:
@@ -39,8 +39,8 @@ const defaults: Record<string, any> = {
|
||||
|
||||
ROOT_REDIRECT: './admin',
|
||||
|
||||
CORS_ENABLED: true,
|
||||
CORS_ORIGIN: true,
|
||||
CORS_ENABLED: false,
|
||||
CORS_ORIGIN: false,
|
||||
CORS_METHODS: 'GET,POST,PATCH,DELETE',
|
||||
CORS_ALLOWED_HEADERS: 'Content-Type,Authorization',
|
||||
CORS_EXPOSED_HEADERS: 'Content-Range',
|
||||
|
||||
Reference in New Issue
Block a user