From ed8b484766a617f9fe8a649a13564f9e013b42ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatko=20=C4=8Calu=C5=A1i=C4=87?= Date: Sat, 1 Apr 2017 10:20:06 +0200 Subject: [PATCH] Add missing route to CreateRepo() --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 7119752..c025c9b 100644 --- a/main.go +++ b/main.go @@ -74,6 +74,7 @@ func setupMux() *goji.Mux { mux.HandleFunc(pat.Delete("/:repo/:type/:name"), DeleteBlob) mux.HandleFunc(pat.Post("/"), CreateRepo) mux.HandleFunc(pat.Post("/:repo"), CreateRepo) + mux.HandleFunc(pat.Post("/:repo/"), CreateRepo) return mux }