Skip to content

Commit 006f793

Browse files
committed
allow to show website in iframe for metrika to work properly
1 parent 12b9c44 commit 006f793

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

landing_page/landing_page/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
ALLOWED_HOSTS = ['*']
1010

1111
CSRF_TRUSTED_ORIGINS = ['https://learn.python.ru']
12+
X_FRAME_OPTIONS = "ALLOW"
1213

1314
INSTALLED_APPS = [
1415
'mainpage.apps.MainpageConfig',

0 commit comments

Comments
 (0)