Skip to content
Snippets Groups Projects
Commit ec498e62 authored by Tim Fechner's avatar Tim Fechner
Browse files

Add proper Content Security Policy for websockets

parent fae05e71
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -4,6 +4,7 @@
<html>
<head>
<meta charset="utf-8">
{% block meta-extra %}{% endblock %}
<title>{% block title-extra %}{% endblock %} | Salt-Observer</title>
......
......@@ -5,6 +5,10 @@
{% block nav-events %}class="active"{% endblock %}
{% block title-extra %}Events{% endblock %}
{% block meta-extra %}
<meta http-equiv="Content-Security-Policy" content="connect-src *">
{% endblock %}
{% block post-script %}
<script>
var token = "{{ request.session.salt_tornado_token }}";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment