mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
added config to apps and routes
This commit is contained in:
@@ -15,8 +15,8 @@ func handleRouteDelete(c *gin.Context) {
|
||||
log := titancommon.Logger(ctx)
|
||||
|
||||
appName := c.Param("app")
|
||||
routeName := c.Param("route")
|
||||
err := Api.Datastore.RemoveRoute(appName, routeName)
|
||||
routePath := c.Param("route")
|
||||
err := Api.Datastore.RemoveRoute(appName, routePath)
|
||||
|
||||
if err != nil {
|
||||
log.WithError(err).Debug(models.ErrRoutesRemoving)
|
||||
|
||||
Reference in New Issue
Block a user