mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-30 10:11:23 +02:00
fixed router path
This commit is contained in:
parent
df7068ef32
commit
d635097105
@ -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 New Issue
Block a user