diff --git a/pkg/server/ui.go b/pkg/server/ui.go index 1a29e55ab..c93e5e4c7 100644 --- a/pkg/server/ui.go +++ b/pkg/server/ui.go @@ -515,11 +515,6 @@ func ServeStaticFile(rw http.ResponseWriter, req *http.Request, root fs.FS, file if fi, err := f.Stat(); err == nil { modTime = fi.ModTime() } - // TODO(wathiede): should pkg/magic be leveraged here somehow? It has a - // slightly different purpose. - if strings.HasSuffix(file, ".svg") { - rw.Header().Set("Content-Type", "image/svg+xml") - } http.ServeContent(rw, req, file, modTime, f.(io.ReadSeeker)) }