Added feeds for crossposting and a rebuild site button

This commit is contained in:
Leon Mika 2026-03-08 09:37:49 +11:00
parent 76ed54f119
commit fa9be69045
6 changed files with 62 additions and 11 deletions

View file

@ -125,6 +125,9 @@ Starting weiro without any arguments will start the server.
siteGroup.Patch("/posts/:postID", ph.Patch)
siteGroup.Delete("/posts/:postID", ph.Delete)
// TODO Move
siteGroup.Post("/rebuild", ph.Rebuild)
siteGroup.Get("/uploads", uh.Index)
siteGroup.Get("/uploads/slug/+", uh.ShowFromSlug)
siteGroup.Get("/uploads/:uploadID", uh.Show)