Skip to content

Commit c74b568

Browse files
committed
Set X-DNS-Prefetch-Control header on console assets
1 parent 337ee95 commit c74b568

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/assets/handlers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func SecurityHeadersHandler(h http.Handler) http.Handler {
5757
w.Header().Set("X-Content-Type-Options", "nosniff")
5858
w.Header().Set("X-XSS-Protection", "1; mode=block")
5959
w.Header().Set("X-Frame-Options", "DENY")
60+
w.Header().Set("X-DNS-Prefetch-Control", "off")
6061
h.ServeHTTP(w, r)
6162
})
6263
}

0 commit comments

Comments
 (0)