Skip to content

Commit

Permalink
CSP for QR code
Browse files Browse the repository at this point in the history
  • Loading branch information
m-barthelemy committed Nov 12, 2020
1 parent 30a37cb commit 18f34aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/header.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "header" }}
<head>
<meta http-equiv="Content-Security-Policy"
content="default-src 'self'; font-src https://fonts.gstatic.com 'self'; child-src 'none'; object-src 'none'; style-src 'self' 'unsafe-inline'; img-src {{.LogoURL}}">
content="default-src 'self'; font-src https://fonts.gstatic.com 'self'; child-src 'none'; object-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' {{.LogoURL}}">
<link href="/assets/material-icons.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/assets/materialize-0.97.5.min.css">
<link rel="stylesheet" type="text/css" href="/assets/font-awesome.min-4.7.0.css">
Expand Down

0 comments on commit 18f34aa

Please sign in to comment.