feat: add /api/user/me endpoint for session restoration

This commit is contained in:
2026-01-04 14:31:34 +03:00
parent 58aa72f9bb
commit e98d10ae1d
4 changed files with 58 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ func main() {
r.Route("/api/user", func(r chi.Router) {
r.Post("/skin", profileHandler.UploadSkin)
r.Get("/me", userHandler.GetMe)
})
r.Route("/api/admin", func(r chi.Router) {