diff --git a/pydotorg/settings/base.py b/pydotorg/settings/base.py index a9403580f..558dfe469 100644 --- a/pydotorg/settings/base.py +++ b/pydotorg/settings/base.py @@ -346,6 +346,11 @@ # Status Page, host included in 'static/js/script.js' "https://2p66nmmycsj3.statuspage.io", ], + "frame-src": [ + SELF, + # Interactive shell on the homepage, see 'templates/python/shell.html' + "https://console.python.org", + ], "frame-ancestors": [SELF], "base-uri": [SELF], "object-src": ["'none'"], diff --git a/templates/base.html b/templates/base.html index 24afeb4d0..826718102 100644 --- a/templates/base.html +++ b/templates/base.html @@ -11,9 +11,6 @@ - - -