mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43:21 +00:00
Add missing route to CreateRepo()
This commit is contained in:
parent
84cabc7880
commit
ed8b484766
1 changed files with 1 additions and 0 deletions
1
main.go
1
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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue