Skip to content

Commit

Permalink
fix: set font-src to 'self' on questions (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
httpjamesm authored Mar 29, 2024
1 parent 23b8ed8 commit a701810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/question.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="/static/comments.css" />
<meta
http-equiv="Content-Security-Policy"
content="default-src 'none'; style-src 'self'; script-src 'self'; img-src {{ .imagePolicy }};"
content="default-src 'none'; style-src 'self'; script-src 'self'; img-src {{ .imagePolicy }}; font-src 'self';"
/>
<meta name="description" content="{{ .question.ShortenedBody }}..." />
{{ template "sharedHead.html" }}
Expand Down

0 comments on commit a701810

Please sign in to comment.