diff --git a/server/main.go b/server/main.go index 38fea57eb..74ee6da93 100644 --- a/server/main.go +++ b/server/main.go @@ -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)