mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-04-20 05:49:15 +00:00
fix: set font-src to 'self' on questions
This commit is contained in:
parent
23b8ed8899
commit
3a69705d84
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
<link rel="stylesheet" href="/static/comments.css" />
|
<link rel="stylesheet" href="/static/comments.css" />
|
||||||
<meta
|
<meta
|
||||||
http-equiv="Content-Security-Policy"
|
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 }}..." />
|
<meta name="description" content="{{ .question.ShortenedBody }}..." />
|
||||||
{{ template "sharedHead.html" }}
|
{{ template "sharedHead.html" }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue