Skip to content

Commit

Permalink
Allow project website to be embedded for showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
JusticeV452 committed May 14, 2024
1 parent 837d4e2 commit 977cb79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',

# Disabled to allow embedding in iFrames (e.g., for our Research Showcase)
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'config.urls'
Expand Down

0 comments on commit 977cb79

Please sign in to comment.