Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
salt-observer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
django
salt-observer
Commits
ec498e62
There was a problem fetching the pipeline summary.
Commit
ec498e62
authored
8 years ago
by
Tim Fechner
Browse files
Options
Downloads
Patches
Plain Diff
Add proper Content Security Policy for websockets
parent
fae05e71
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
salt_observer/templates/_layout/base.html
+1
-0
1 addition, 0 deletions
salt_observer/templates/_layout/base.html
salt_observer/templates/events.html
+4
-0
4 additions, 0 deletions
salt_observer/templates/events.html
with
5 additions
and
0 deletions
salt_observer/templates/_layout/base.html
+
1
−
0
View file @
ec498e62
...
...
@@ -4,6 +4,7 @@
<html>
<head>
<meta
charset=
"utf-8"
>
{% block meta-extra %}{% endblock %}
<title>
{% block title-extra %}{% endblock %} | Salt-Observer
</title>
...
...
This diff is collapsed.
Click to expand it.
salt_observer/templates/events.html
+
4
−
0
View file @
ec498e62
...
...
@@ -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 }}
"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment