Added feeds for crossposting and a rebuild site button
This commit is contained in:
parent
76ed54f119
commit
fa9be69045
6 changed files with 62 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue