Allow data URIs for font loading

This commit is contained in:
Eduard Urbach 2019-05-26 12:00:10 +09:00
parent 3094434326
commit a72decf714
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -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)