progresses on #49

This commit is contained in:
Henrique Dias
2016-03-06 14:23:37 +00:00
parent bec1c3c510
commit b97ef80596
7 changed files with 78 additions and 12 deletions

View File

@@ -137,7 +137,7 @@ func (h CaddyHugo) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error
}
// Git API
if page == "edit" {
if page == "git" {
code, err = git.ServeHTTP(w, r, h.Config)
}