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:
2025-10-14 22:45:30 +05:00
parent fe8616a032
commit c01ce8a18c
3 changed files with 270 additions and 72 deletions
+1 -1
View File
@@ -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
}