File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 8787SECURE_HSTS_SECONDS = 31536000
8888SECURE_HSTS_INCLUDE_SUBDOMAINS = True
8989SECURE_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
9393ROOT_URLCONF = 'openlxp_xis_project.urls'
9494
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
240240AUTHENTICATION_BACKENDS = (
241241 'django.contrib.auth.backends.ModelBackend' ,
299299if 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+
You can’t perform that action at this time.
0 commit comments