mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03:00
ui-assets: Integrate UI assets.
This commit is contained in:
+2
-2
@@ -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