1
All checks were successful
Deploy API / deploy (push) Successful in 50s

This commit is contained in:
2026-05-26 18:11:47 +08:00
parent 90184d40c7
commit 590088cccb
3 changed files with 111 additions and 24 deletions

View File

@@ -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)