Merge branch 'development' into development

This commit is contained in:
Adnan Hajdarević
2019-04-17 18:11:12 +02:00
committed by GitHub
6 changed files with 450 additions and 329 deletions
+5 -1
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)