all repos — homestead @ b8a2bb93e2b2cc9cc609053d02b9cdd7d64de0c3

Code for my website

add special case for handling go-get queries

Alan Pearce
commit

b8a2bb93e2b2cc9cc609053d02b9cdd7d64de0c3

parent

62c36b5b667ab10936f444e01e6f2c567c7c2126

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M internal/website/website.gointernal/website/website.go
@@ -61,7 +61,7 @@ var CSPHeader = csp.Header{
DefaultSrc: []string{"'none'"}, FormAction: []string{"'none'"}, BaseURI: []string{"'none'"}, - ImgSrc: []string{"'self'"}, + ImgSrc: []string{"'self'", "https://pkg.go.dev/"}, ScriptSrc: []string{"'self'"}, StyleSrc: []string{"'self'"}, FrameAncestors: []string{"https://kagi.com"},