chore: add date formatting
This commit is contained in:
3 files changed
+63
-10
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user