all repos — honk @ 6b7f68bee86271b263245f6c9770ac84b1cc2322

my fork of honk

maybe this time
Anirudh Oppiliappan x@icyphox.sh
Tue, 20 Jun 2023 23:02:41 +0300
commit

6b7f68bee86271b263245f6c9770ac84b1cc2322

parent

8a164c720f4f1ae7423d31cbc55c3fb11f6312e9

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M web.goweb.go

@@ -2664,7 +2664,7 @@ }

func addcspheaders(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Security-Policy", "default-src 'none'; script-src 'self'; connect-src 'self'; style-src 'self' cdn.icyphox.sh; img-src 'self'; media-src 'self' cdn.icyphox.sh; report-uri /csp-violation") + w.Header().Set("Content-Security-Policy", "default-src cdn.icyphox.sh; script-src 'self'; connect-src 'self'; style-src 'self'; img-src 'self'; media-src 'self'; report-uri /csp-violation") next.ServeHTTP(w, r) }) }