This commit is contained in:
@@ -127,6 +127,7 @@ func main() {
|
||||
r.Get("/posts/latest", handlers.ListPostsLatest)
|
||||
r.Get("/posts/search", handlers.SearchPosts)
|
||||
r.Get("/posts/{id}", handlers.GetPost)
|
||||
r.Get("/posts/{id}/attachments/{aid}/download", handlers.GetPostAttachmentDownload)
|
||||
r.Post("/posts/{id}/attachments/{aid}/download", handlers.PostAttachmentDownload)
|
||||
r.Get("/resources", handlers.ListResources)
|
||||
r.Get("/resources/recommended", handlers.ListRecommended)
|
||||
|
||||
Reference in New Issue
Block a user