mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Removed "name" from route, only need path.
This commit is contained in:
@@ -27,7 +27,8 @@ func handleRouteUpdate(c *gin.Context) {
|
||||
}
|
||||
|
||||
wroute.Route.AppName = c.Param("app")
|
||||
wroute.Route.Name = c.Param("route")
|
||||
log.Infoln("Route: ", c.Param("route"))
|
||||
wroute.Route.Path = c.Param("route")
|
||||
|
||||
if err := wroute.Validate(); err != nil {
|
||||
log.Error(err)
|
||||
|
||||
Reference in New Issue
Block a user