Browse Source

Add CORS allow credential header

master
Joshua Rubingh 6 months ago
parent
commit
cd3372a586
  1. 4
      VRE/VRE/settings.py

4
VRE/VRE/settings.py

@ -292,6 +292,8 @@ CORS_ALLOW_HEADERS = config('CORS_ALLOW_HEADERS', default='accept,accept-encodin @@ -292,6 +292,8 @@ CORS_ALLOW_HEADERS = config('CORS_ALLOW_HEADERS', default='accept,accept-encodin
CORS_EXPOSE_HEADERS = CORS_ALLOW_HEADERS
CORS_ALLOW_CREDENTIALS = True
# Sentry settings
SENTRY_DSN = config('SENTRY_DSN', None)
if SENTRY_DSN:
@ -309,7 +311,7 @@ if SENTRY_DSN: @@ -309,7 +311,7 @@ if SENTRY_DSN:
send_default_pii=True
)
#Todo: Logging config
# Todo: Logging config
# LOGGING = {
# 'version': 1,

Loading…
Cancel
Save