mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-09-13 21:51:20 +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)
|
http.NotFoundHandler().ServeHTTP(w, r)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
w.WriteHeader(http.StatusOK)
|
|
||||||
_, _ = w.Write(rtn)
|
_, _ = w.Write(rtn)
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user