Default CORS to disabled (#12022)

* Default CORS to disabled

* Update docs to match
This commit is contained in:
Rijk van Zanten
2022-03-07 16:05:02 -05:00
committed by GitHub
parent a8df6d9653
commit 826404bcbe
2 changed files with 4 additions and 4 deletions

View File

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