chore: add date formatting

This commit is contained in:
xuu committed 2025-04-02 11:55:56 -06:00
1 parent 6b8ad143fe
commit 74fa69274d
3 files changed
+63 -10

No files matched your search

+3 -1
View File
@@ -35,9 +35,11 @@ func httpServer(ctx context.Context, app *appState) error {
hostname: app.args.Hostname,
}
http.HandleFunc("/", html.home)
http.HandleFunc("/health", html.healthcheck)
http.HandleFunc("/", html.home)
http.HandleFunc("/conv/{hash}", html.conv)
http.HandleFunc("/api/plain", api.plain)
http.HandleFunc("/api/plain/conv/{hash}", api.conv)
http.HandleFunc("/api/plain/mentions", api.mentions)