0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00

run goimports

This commit is contained in:
Will Norris 2021-01-24 13:44:39 -08:00
parent 5bb32547c9
commit 3999c5bd80

View file

@ -257,7 +257,7 @@ func (p *Proxy) serveImage(w http.ResponseWriter, r *http.Request) {
// Disable Content-Type sniffing // Disable Content-Type sniffing
w.Header().Set("X-Content-Type-Options", "nosniff") w.Header().Set("X-Content-Type-Options", "nosniff")
// Block potential XSS attacks especially in legacy browsers which do not support CSP // Block potential XSS attacks especially in legacy browsers which do not support CSP
w.Header().Set("X-XSS-Protection", "1; mode=block") w.Header().Set("X-XSS-Protection", "1; mode=block")