ev6 commited on
Commit
1425ca7
·
verified ·
1 Parent(s): 91d3d5c

Update app/django_app/settings.py

Browse files
Files changed (1) hide show
  1. app/django_app/settings.py +4 -0
app/django_app/settings.py CHANGED
@@ -31,6 +31,10 @@ CSRF_TRUSTED_ORIGINS = [
31
  'https://ev6-emotions-recognition.hf.space',
32
  ]
33
 
 
 
 
 
34
  # Application definition
35
 
36
  INSTALLED_APPS = [
 
31
  'https://ev6-emotions-recognition.hf.space',
32
  ]
33
 
34
+ CSRF_COOKIE_SECURE = True
35
+
36
+ CSRF_COOKIE_HTTPONLY = True
37
+
38
  # Application definition
39
 
40
  INSTALLED_APPS = [