From d2b5e203b097fc297bb21b4d6226a2464f45488d Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 22 Jul 2024 01:05:05 +0200 Subject: [PATCH] server: remove old unused routes (#3845) --- server/router/api.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/server/router/api.go b/server/router/api.go index cce04ef0e..3fb760760 100644 --- a/server/router/api.go +++ b/server/router/api.go @@ -15,8 +15,6 @@ package router import ( - "net/http" - "github.com/gin-gonic/gin" "github.com/rs/zerolog" @@ -272,12 +270,4 @@ func apiRoutes(e *gin.RouterGroup) { } } } - - // TODO: remove with 3.x - e.Any("/hook", func(c *gin.Context) { - c.String(http.StatusGone, "use /api/hook") - }) - e.Any("/stream/events", func(c *gin.Context) { - c.String(http.StatusGone, "use /api/stream/events") - }) }