1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

Post login form to GetLogin handler

This commit is contained in:
Kirill Zaitsev 2014-10-02 18:39:00 +04:00
parent e4219a3aac
commit 9b706b1534

View File

@ -120,7 +120,7 @@ func main() {
goji.Get("/api/stream/stdout/:id", handler.WsConsole)
goji.Get("/api/stream/user", handler.WsUser)
goji.Get("/api/auth/:host", handler.GetLogin)
goji.Get("/api/auth/:host", handler.GetLogin)
goji.Post("/api/auth/:host", handler.GetLogin)
goji.Get("/api/badge/:host/:owner/:name/status.svg", handler.GetBadge)
goji.Get("/api/badge/:host/:owner/:name/cc.xml", handler.GetCC)
goji.Get("/api/hook/:host", handler.PostHook)