mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-28 15:05:15 +00: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)
|
stream.GET("/:owner/:name/:build/:number", web.GetStream)
|
||||||
}
|
}
|
||||||
|
|
||||||
slash := e.Group("/slash/slack")
|
bots := e.Group("/bots")
|
||||||
{
|
{
|
||||||
slash.Use(session.MustUser())
|
bots.Use(session.MustUser())
|
||||||
slash.POST("/slash", web.Slack)
|
bots.POST("/slack", web.Slack)
|
||||||
}
|
}
|
||||||
|
|
||||||
auth := e.Group("/authorize")
|
auth := e.Group("/authorize")
|
||||||
|
Loading…
Reference in New Issue
Block a user