kaeizen commited on
Commit
1c8e5de
·
1 Parent(s): 36bb77a

add integration setting

Browse files
Files changed (1) hide show
  1. backend/settings.py +2 -0
backend/settings.py CHANGED
@@ -76,6 +76,8 @@ if MODE == 'production':
76
 
77
  # Allow embedding in an iframe only from Hugging Face Spaces (for integration)
78
  X_FRAME_OPTIONS = 'ALLOW-FROM https://huggingface.co/'
 
 
79
 
80
  # Application definition
81
 
 
76
 
77
  # Allow embedding in an iframe only from Hugging Face Spaces (for integration)
78
  X_FRAME_OPTIONS = 'ALLOW-FROM https://huggingface.co/'
79
+ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
80
+
81
 
82
  # Application definition
83