-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Content Security and Permission Policies - use csp_nonce for inline s…
…cripts
- Loading branch information
1 parent
6f81c6d
commit 0c77af3
Showing
4 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,7 @@ <h2>Vue quotidienne</h2> | |
{% block extra_js %} | ||
{{ block.super }} | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script> | ||
<script nonce="{{ request.csp_nonce }}"> | ||
const ctx_stats = document.getElementById('statChart'); | ||
new Chart(ctx_stats, { | ||
type: 'line', | ||
|