Skip to content

Commit a701810

Browse files
authored
fix: set font-src to 'self' on questions (#101)
1 parent 23b8ed8 commit a701810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/question.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link rel="stylesheet" href="/static/comments.css" />
88
<meta
99
http-equiv="Content-Security-Policy"
10-
content="default-src 'none'; style-src 'self'; script-src 'self'; img-src {{ .imagePolicy }};"
10+
content="default-src 'none'; style-src 'self'; script-src 'self'; img-src {{ .imagePolicy }}; font-src 'self';"
1111
/>
1212
<meta name="description" content="{{ .question.ShortenedBody }}..." />
1313
{{ template "sharedHead.html" }}

0 commit comments

Comments
 (0)