mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-09-12 13:14:35 +00:00
fix: Index content-type missing problem
This commit is contained in:
@@ -132,7 +132,6 @@ func (h *Handler) IndexFile() http.Handler {
|
||||
http.NotFoundHandler().ServeHTTP(w, r)
|
||||
return
|
||||
}
|
||||
w.WriteHeader(http.StatusOK)
|
||||
_, _ = w.Write(rtn)
|
||||
}))
|
||||
}
|
||||
|
Reference in New Issue
Block a user