feat(auth): implement yggdrasil join endpoint
This commit is contained in:
1 parent
056aa05c50
commit
9082b21a5d
5 files changed
+107
-1
No files matched your search
+1
-1
@@ -59,8 +59,8 @@ func main() {
|
||||
})
|
||||
// Группа маршрутов для Session Server API
|
||||
r.Route("/sessionserver/session/minecraft", func(r chi.Router) {
|
||||
r.Post("/join", authHandler.Join) // <-- ДОБАВЛЯЕМ ЭТОТ МАРШРУТ
|
||||
r.Get("/profile/{uuid}", profileHandler.GetProfile)
|
||||
// Здесь будет эндпоинт /join
|
||||
})
|
||||
|
||||
// Маршрут для проверки, что сервер жив
|
||||
|
||||
Reference in new issue
Block a user