Set X-DNS-Prefetch-Control header on console assets
@@ -57,6 +57,7 @@ func SecurityHeadersHandler(h http.Handler) http.Handler {
w.Header().Set("X-Content-Type-Options", "nosniff")
w.Header().Set("X-XSS-Protection", "1; mode=block")
w.Header().Set("X-Frame-Options", "DENY")
+ w.Header().Set("X-DNS-Prefetch-Control", "off")
h.ServeHTTP(w, r)
})
}
