mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05: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:
parent
c2196e3ae1
commit
59f41ac17d
1 changed files with 2 additions and 0 deletions
|
@ -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))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue