caching: disable caching of index.html and enable caching for other UI asset files.

This commit is contained in:
Krishna Srinivas committed 2016-02-27 12:22:26 +05:30
1 parent 2ec211e52a
commit af7170675d
2 files changed
+15 -11

No files matched your search

-9
View File
@@ -58,15 +58,6 @@ type GenericRep struct {
UIVersion string `json:"uiVersion"`
}
// GenericArgs - empty struct
type GenericArgs struct{}
// GetUIVersion - get UI version
func (web webAPI) GetUIVersion(r *http.Request, args *GenericArgs, reply *GenericRep) error {
reply.UIVersion = miniobrowser.UIVersion
return nil
}
// ServerInfoRep - server info reply.
type ServerInfoRep struct {
MinioVersion string