mirror of https://github.com/velour/catbase.git
gitlab: fix event URL
This commit is contained in:
parent
6393d8bb22
commit
6a332bcd8e
|
@ -43,7 +43,7 @@ func New(b bot.Bot) *GitPlugin {
|
||||||
|
|
||||||
func (p *GitPlugin) registerWeb() {
|
func (p *GitPlugin) registerWeb() {
|
||||||
http.HandleFunc("/git/github/event", p.githubEvent)
|
http.HandleFunc("/git/github/event", p.githubEvent)
|
||||||
http.HandleFunc("/git/github/gitlabEvent", p.gitlabEvent)
|
http.HandleFunc("/git/gitlab/event", p.gitlabEvent)
|
||||||
p.b.RegisterWeb("/git", "Git")
|
p.b.RegisterWeb("/git", "Git")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue