From a72decf71434771f90452a837e3aa4395725885e Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 26 May 2019 12:00:10 +0900 Subject: [PATCH] Allow data URIs for font loading --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 5894bc4a..2a220a4c 100644 --- a/main.go +++ b/main.go @@ -28,6 +28,7 @@ func configure(app *aero.Application) *aero.Application { // Content security policy app.ContentSecurityPolicy.Set("img-src", "https: data:") app.ContentSecurityPolicy.Set("connect-src", "https: wss: data:") + app.ContentSecurityPolicy.Set("font-src", "https: data:") // Security configureHTTPS(app)