Skip to content

Commit 7521d26

Browse files
committed
Added x-frame option to settings.py.
1 parent fd911be commit 7521d26

File tree

6 files changed

+4
-2
lines changed

6 files changed

+4
-2
lines changed

momentum_bicycle_workshop/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
SECRET_KEY = os.getenv('DJANGO_SECRET_KEY', 'default-insecure-key')
2121

2222
# SECURITY WARNING: don't run with debug turned on in production!
23-
DEBUG = True
23+
DEBUG = False
2424

2525
ALLOWED_HOSTS = [
2626
'momentum-bicycle-workshop-22fb69372d3e.herokuapp.com',
@@ -179,3 +179,5 @@
179179
messages.ERROR: 'danger', # Match this to Bootstrap's "alert-danger" class
180180
}
181181

182+
X_FRAME_OPTIONS = 'ALLOWALL'
183+

staticfiles/favicon.c756f4350c0e.ico

15 KB
Binary file not shown.
4.98 KB
Binary file not shown.

staticfiles/favicon.ico

15 KB
Binary file not shown.

staticfiles/favicon.ico.gz

4.98 KB
Binary file not shown.

staticfiles/staticfiles.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)