Deps and links

This commit is contained in:
2024-12-25 19:53:32 -07:00
parent 886d6339b7
commit 546a49f550
4 changed files with 12 additions and 22 deletions

View File

@ -60,12 +60,13 @@ func main() {
// API Routes:
apiGroup := e.Group("/api")
// Swagger endpoint
apiGroup.GET("/swagger/*", echoSwagger.WrapHandler)
apiGroup.GET("/ping", api.Ping)
apiGroup.GET("/rss", api.RSSFeedHandler)
apiGroup.GET("/post/copy", api.PostCopy)
// Swagger endpoint
apiGroup.GET("/swagger/*", echoSwagger.WrapHandler)
apiGroup.GET("/sse", func(c echo.Context) error {
return api.SSE(c)
})