mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fix routes router and tests
This commit is contained in:
@@ -62,9 +62,9 @@ func bindHandlers(engine *gin.Engine) {
|
||||
{
|
||||
apps.GET("/routes", handleRouteList)
|
||||
apps.POST("/routes", handleRouteCreate)
|
||||
apps.GET("/routes/:route", handleRouteGet)
|
||||
apps.PUT("/routes/:route", handleRouteUpdate)
|
||||
apps.DELETE("/routes/:route", handleRouteDelete)
|
||||
apps.GET("/routes/*route", handleRouteGet)
|
||||
apps.PUT("/routes/*route", handleRouteUpdate)
|
||||
apps.DELETE("/routes/*route", handleRouteDelete)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user