mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
fix(ui): Add users route to extension_ui.go (#2141)
Add new ui route "/user" to ui router Signed-off-by: Raul-Cristian Kele <raulkeleblk@gmail.com>
This commit is contained in:
@@ -87,6 +87,8 @@ func SetupUIRoutes(conf *config.Config, router *mux.Router,
|
||||
Handler(addUISecurityHeaders(uih))
|
||||
router.PathPrefix("/image").Methods(allowedMethods...).
|
||||
Handler(addUISecurityHeaders(uih))
|
||||
router.PathPrefix("/user").Methods(allowedMethods...).
|
||||
Handler(addUISecurityHeaders(uih))
|
||||
router.PathPrefix("/").Methods(allowedMethods...).
|
||||
Handler(addUISecurityHeaders(http.FileServer(http.FS(fsub))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user