Added first tool (for my use)

This commit is contained in:
2024-02-22 13:12:47 -07:00
parent 3ab28f60a2
commit 044bd9820e
4 changed files with 42 additions and 4 deletions

View File

@ -72,6 +72,8 @@ func main() {
e.GET("/post/:post", pages.Post)
e.GET("/sse", pages.SSEDemo)
e.GET("/rss", pages.RSSFeedHandler)
e.GET("/tools", pages.Tools)
e.GET("/tools/resize", pages.Resize)
// API Routes:
apiGroup := e.Group("/api")
@ -89,6 +91,7 @@ func main() {
})
apiGroup.GET("/nowplaying", api.NowPlayingHandler)
apiGroup.POST("/resize", api.ResizeHandler)
// Webhook Routes:
webhookGroup := e.Group("/webhook")