mirror of
https://github.com/minio/minio.git
synced 2025-11-28 21:18:10 -05:00
ui-assets: Integrate UI assets.
This commit is contained in:
@@ -75,8 +75,8 @@ func getWebAPIHandler(web *WebAPI) http.Handler {
|
||||
root.Handle("/rpc", s)
|
||||
|
||||
// Enable this when we add assets.
|
||||
// root.PathPrefix("/login").Handler(http.StripPrefix("/login", http.FileServer(assetFS())))
|
||||
// root.Handle("/{file:.*}", http.FileServer(assetFS()))
|
||||
root.PathPrefix("/login").Handler(http.StripPrefix("/login", http.FileServer(assetFS())))
|
||||
root.Handle("/{file:.*}", http.FileServer(assetFS()))
|
||||
return registerHandlers(mux, handlerFns...)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user