kaeizen commited on
Commit
e4ae336
·
1 Parent(s): 1491cc5

Add integration

Browse files
Files changed (1) hide show
  1. backend/settings.py +3 -0
backend/settings.py CHANGED
@@ -67,6 +67,9 @@ if SECURE_HSTS_SECONDS > 0:
67
  SECURE_HSTS_PRELOAD = os.environ.get("SECURE_HSTS_PRELOAD", "False") == "True"
68
 
69
 
 
 
 
70
  # Application definition
71
 
72
  INSTALLED_APPS = [
 
67
  SECURE_HSTS_PRELOAD = os.environ.get("SECURE_HSTS_PRELOAD", "False") == "True"
68
 
69
 
70
+ # Allow embedding in an iframe only from Hugging Face Spaces (for integration)
71
+ X_FRAME_OPTIONS = 'ALLOW-FROM https://huggingface.co/'
72
+
73
  # Application definition
74
 
75
  INSTALLED_APPS = [