1
0
Fork 0

Merge pull request #2644 from rrgeorge/rrgeorge/csp

Add Content-Security-Policy headers and secure cookies
This commit is contained in:
Mouse Reeve 2023-02-10 16:37:39 -08:00 committed by GitHub
commit 2c2daf5fdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 33 additions and 15 deletions

View file

@ -1,5 +1,5 @@
{% load i18n %}
<script>
<script nonce="{{request.csp_nonce}}">
var registerStats = new Chart(
document.getElementById('register_stats'),
{

View file

@ -1,5 +1,5 @@
{% load i18n %}
<script>
<script nonce="{{request.csp_nonce}}">
var statusStats = new Chart(
document.getElementById('status_stats'),

View file

@ -1,5 +1,5 @@
{% load i18n %}
<script>
<script nonce="{{request.csp_nonce}}">
var userStats = new Chart(
document.getElementById('user_stats'),

View file

@ -1,5 +1,5 @@
{% load i18n %}
<script>
<script nonce="{{request.csp_nonce}}">
var worksStats = new Chart(
document.getElementById('works_stats'),