Clean up CORS-related settings
This commit is contained in:
committed by
Kyle McCormick
parent
c835a2a291
commit
dff0e2a564
@@ -2098,14 +2098,13 @@ FINANCIAL_REPORTS = {
|
||||
############# CORS headers for cross-domain requests #################
|
||||
if FEATURES.get('ENABLE_CORS_HEADERS'):
|
||||
CORS_ALLOW_CREDENTIALS = True
|
||||
CORS_ORIGIN_WHITELIST = ()
|
||||
CORS_ORIGIN_ALLOW_ALL = False
|
||||
CORS_ALLOW_INSECURE = False
|
||||
CORS_ALLOW_HEADERS = corsheaders_default_headers + (
|
||||
'use-jwt-cookie',
|
||||
)
|
||||
|
||||
CORS_ORIGIN_WHITELIST = []
|
||||
CORS_ORIGIN_ALLOW_ALL = False
|
||||
|
||||
|
||||
LOGIN_REDIRECT_WHITELIST = []
|
||||
|
||||
DEPRECATED_ADVANCED_COMPONENT_TYPES = []
|
||||
|
||||
@@ -2778,12 +2778,11 @@ if FEATURES.get('ENABLE_CORS_HEADERS'):
|
||||
CORS_ALLOW_CREDENTIALS = True
|
||||
CORS_ORIGIN_WHITELIST = ()
|
||||
CORS_ORIGIN_ALLOW_ALL = False
|
||||
CORS_ALLOW_INSECURE = False
|
||||
CORS_ALLOW_HEADERS = corsheaders_default_headers + (
|
||||
'use-jwt-cookie',
|
||||
)
|
||||
|
||||
CORS_ORIGIN_WHITELIST = []
|
||||
CORS_ORIGIN_ALLOW_ALL = False
|
||||
# Default cache expiration for the cross-domain proxy HTML page.
|
||||
# This is a static page that can be iframed into an external page
|
||||
# to simulate cross-domain requests.
|
||||
|
||||
Reference in New Issue
Block a user