2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 17:10:29 +01:00

add content security policy to base template

This commit is contained in:
Frederik Ring 2020-08-27 09:14:24 +02:00
parent ca025bc6f6
commit d03109222c

View File

@ -6,6 +6,7 @@
{% block title %}{{ title }}{% endblock %} {% block title %}{{ title }}{% endblock %}
</title> </title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' *; script-src 'self' *.offen.dev; frame-src 'self' *.offen.dev">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
<meta name="description" content="{{ description }}"> <meta name="description" content="{{ description }}">