modified: begushiybashkir/bbvue/src/views/Profile.vue
modified: serv_nginx/api_bb/internal/handlers/user.go modified: serv_nginx/api_bb/internal/routes/routes.go change url path into back to avatars
This commit is contained in:
@@ -39,7 +39,7 @@ func (h *UserHandler) Routes() chi.Router {
|
||||
|
||||
r.Get("/profile", h.GetProfile)
|
||||
r.Post("/editProfile", h.UpdateProfile)
|
||||
r.Get("/avatar/{filename}", h.ServeAvatar)
|
||||
r.Get("/avatars/{filename}", h.ServeAvatar)
|
||||
|
||||
return r
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user