mirror of
https://github.com/minio/minio.git
synced 2025-11-13 07:11:44 -05:00
caching: disable caching of index.html and enable caching for other UI asset files.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user