mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
fixed router path
This commit is contained in:
parent
df7068ef32
commit
d635097105
1 changed files with 3 additions and 3 deletions
|
@ -142,10 +142,10 @@ func Load(middleware ...gin.HandlerFunc) http.Handler {
|
|||
stream.GET("/:owner/:name/:build/:number", web.GetStream)
|
||||
}
|
||||
|
||||
slash := e.Group("/slash/slack")
|
||||
bots := e.Group("/bots")
|
||||
{
|
||||
slash.Use(session.MustUser())
|
||||
slash.POST("/slash", web.Slack)
|
||||
bots.Use(session.MustUser())
|
||||
bots.POST("/slack", web.Slack)
|
||||
}
|
||||
|
||||
auth := e.Group("/authorize")
|
||||
|
|
Loading…
Reference in a new issue