Allow data URIs for font loading
This commit is contained in:
parent
3094434326
commit
a72decf714
1
main.go
1
main.go
@ -28,6 +28,7 @@ func configure(app *aero.Application) *aero.Application {
|
|||||||
// Content security policy
|
// Content security policy
|
||||||
app.ContentSecurityPolicy.Set("img-src", "https: data:")
|
app.ContentSecurityPolicy.Set("img-src", "https: data:")
|
||||||
app.ContentSecurityPolicy.Set("connect-src", "https: wss: data:")
|
app.ContentSecurityPolicy.Set("connect-src", "https: wss: data:")
|
||||||
|
app.ContentSecurityPolicy.Set("font-src", "https: data:")
|
||||||
|
|
||||||
// Security
|
// Security
|
||||||
configureHTTPS(app)
|
configureHTTPS(app)
|
||||||
|
Loading…
Reference in New Issue
Block a user