ev6 commited on
Commit
7827a48
·
verified ·
1 Parent(s): ce82a5f

Update app/django_app/settings.py

Browse files
Files changed (1) hide show
  1. app/django_app/settings.py +3 -1
app/django_app/settings.py CHANGED
@@ -24,8 +24,10 @@ SECRET_KEY = os.environ.get('SECRET_KEY', 'your-default-secret-key')
24
  # SECURITY WARNING: don't run with debug turned on in production!
25
  DEBUG = True
26
 
27
- ALLOWED_HOSTS = ['*']
28
  X_FRAME_OPTIONS = 'ALLOW-FROM https://huggingface.co/'
 
 
29
 
30
  CSRF_TRUSTED_ORIGINS = [
31
  'https://ev6-emotions-recognition.hf.space',
 
24
  # SECURITY WARNING: don't run with debug turned on in production!
25
  DEBUG = True
26
 
27
+ ALLOWED_HOSTS = ['https://ev6-emotions-recognition.hf.space', 'https://huggingface.co/']
28
  X_FRAME_OPTIONS = 'ALLOW-FROM https://huggingface.co/'
29
+ X_FRAME_OPTIONS = 'ALLOW-FROM https://ev6-emotions-recognition.hf.space'
30
+
31
 
32
  CSRF_TRUSTED_ORIGINS = [
33
  'https://ev6-emotions-recognition.hf.space',