рабочий вариант, но скороть 10 МБит
build / backend (push) Has been cancelled
build / node-agent (push) Has been cancelled
build / worker (push) Has been cancelled

This commit is contained in:
2026-05-22 21:46:49 +03:00
parent 469fa0e860
commit 20d361a886
280 changed files with 954890 additions and 18524 deletions
+3
View File
@@ -28,6 +28,9 @@ func (m *Module) RegisterRoutes(router chi.Router) {
r.Post("/bootstrap-owner", m.handleBootstrapOwner)
})
router.Route("/auth", func(r chi.Router) {
r.Get("/ui/login", m.handleLoginHTMLPage)
r.Post("/ui/login", m.handleLoginHTML)
r.Get("/ui/vpn-download", m.handleVPNDownloadHTML)
r.Post("/login", m.handleLogin)
r.Post("/refresh", m.handleRefresh)
r.Post("/sessions/revoke", m.handleRevokeAuthSession)