From 2d858e6738a1c3704cc5e894292b764b3fae7d9c Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 6 Jan 2019 09:29:23 +0000 Subject: [PATCH] fix: allow embedding into iframes (close #550) License: MIT Signed-off-by: Henrique Dias --- http/static.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/http/static.go b/http/static.go index 6e84be85..bca3821e 100644 --- a/http/static.go +++ b/http/static.go @@ -85,9 +85,7 @@ func getStaticHandlers(storage *storage.Storage) (http.Handler, http.Handler) { return http.StatusNotFound, nil } - w.Header().Set("x-frame-options", "SAMEORIGIN") w.Header().Set("x-xss-protection", "1; mode=block") - return handleWithStaticData(w, r, d, box, "index.html", "text/html; charset=utf-8") }, "", storage)