latest.json endpoint

This commit is contained in:
2025-12-16 16:23:59 +01:00
parent 13a25eab94
commit d14bcb8d20
2 changed files with 28 additions and 0 deletions
+5
View File
@@ -34,6 +34,11 @@ app:get("/", function(self)
return handlers.Roothandler(self)
end)
app:get("/latest.json", function(self)
self.titles = page_titles
return handlers.Latesthandler(self)
end)
app:get("/*", function(self)
self.titles = page_titles
return handlers.Roothandler(self)