Skip to content

Commit 0cdac34

Browse files
authored
Update settings.py
1 parent 42bbc13 commit 0cdac34

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/openlxp_xis_project/settings.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787
SECURE_HSTS_SECONDS = 31536000
8888
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
8989
SECURE_BROWSER_XSS_FILTER = True
90-
# SECURE_SSL_REDIRECT = True
91-
# SECURE_REDIRECT_EXEMPT = ['health/', 'api/health/']
90+
SECURE_SSL_REDIRECT = True
91+
SECURE_REDIRECT_EXEMPT = ['health/', 'api/health/']
9292

9393
ROOT_URLCONF = 'openlxp_xis_project.urls'
9494

@@ -234,8 +234,8 @@
234234
}
235235
}
236236

237-
# CORS_ALLOWED_ORIGINS = [os.environ.get('CORS_ALLOWED_ORIGINS')]
238-
# CORS_ALLOW_CREDENTIALS = True
237+
CORS_ALLOWED_ORIGINS = [os.environ.get('CORS_ALLOWED_ORIGINS')]
238+
CORS_ALLOW_CREDENTIALS = True
239239

240240
AUTHENTICATION_BACKENDS = (
241241
'django.contrib.auth.backends.ModelBackend',
@@ -299,3 +299,4 @@
299299
if os.environ.get('TOKEN_COUNT_PER_USER') is not None:
300300
REST_KNOX_TOKEN_LIMIT_PER_USER = int(
301301
os.environ.get('TOKEN_COUNT_PER_USER'))
302+

0 commit comments

Comments
 (0)