Merge branch 'development' into development

This commit is contained in:
Adnan Hajdarević 2019-04-17 18:11:12 +02:00 committed by GitHub
commit e86c2cf610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 450 additions and 329 deletions

View file

@ -23,7 +23,7 @@ import (
)
const (
version = "2.6.8"
version = "2.6.9"
)
var (
@ -185,6 +185,10 @@ func main() {
hooksURL = "/" + *hooksURLPrefix + "/{id}"
}
router.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) {
fmt.Fprintf(w, "OK")
})
router.HandleFunc(hooksURL, hookHandler)
n.UseHandler(router)