improve /api/content metadata and tag handling

This commit is contained in:
Kevin Pham
2023-11-30 22:47:15 -06:00
parent ef50c81aa6
commit 140a38fd39
3 changed files with 85 additions and 2 deletions

View File

@@ -183,7 +183,7 @@ func main() {
RulesetPath: *ruleset,
}
app.Get("api/content/*", handlers.NewAPIOutlineHandler("api/outline/*", proxyOpts))
app.Get("api/content/*", handlers.NewAPIContentHandler("api/outline/*", proxyOpts))
app.Get("outline/*", handlers.NewOutlineHandler("outline/*", proxyOpts))