Deps and links
This commit is contained in:
5
main.go
5
main.go
@ -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)
|
||||
})
|
||||
|
Reference in New Issue
Block a user