From 644d11247419cea2c83783d42d98522b381610db Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 11 Nov 2017 18:14:14 +0100 Subject: [PATCH] Allows images in Firewall --- middleware/Firewall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/Firewall.go b/middleware/Firewall.go index 0594e57c..b804aa25 100644 --- a/middleware/Firewall.go +++ b/middleware/Firewall.go @@ -51,7 +51,7 @@ func Firewall() aero.Middleware { for _, uri := range stats.Requests { // Allow request - if strings.Contains(uri, "/_/") || strings.Contains(uri, "/api/") || strings.Contains(uri, "/scripts") || strings.Contains(uri, "/service-worker") || strings.Contains(uri, "/favicon.ico") || strings.Contains(uri, "/extension/embed") { + if strings.Contains(uri, "/_/") || strings.Contains(uri, "/api/") || strings.Contains(uri, "/scripts") || strings.Contains(uri, "/service-worker") || strings.Contains(uri, "/images/") || strings.Contains(uri, "/favicon.ico") || strings.Contains(uri, "/extension/embed") { next() return }