aboutsummaryrefslogtreecommitdiff
path: root/cmd/http/main.go
diff options
context:
space:
mode:
authorAlex Scerba <alex@scerba.org>2025-02-11 13:57:20 -0500
committerAlex Scerba <alex@scerba.org>2025-02-11 13:57:20 -0500
commitc452c2c5784659436e0ab8775ecb69fe4d5ebe6a (patch)
treef36d3d4f3fd0787e5f0a2a055edd66e7f517acaa /cmd/http/main.go
parent7cef22cd87d160c2484c572c8a4248d4b64c076f (diff)
Implement feed handling
Diffstat (limited to 'cmd/http/main.go')
-rw-r--r--cmd/http/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/http/main.go b/cmd/http/main.go
index 951c02f..8f293d4 100644
--- a/cmd/http/main.go
+++ b/cmd/http/main.go
@@ -70,6 +70,7 @@ func main() {
mux.HandleFunc("/blog/", app.blog)
mux.HandleFunc("/archive", app.archive)
mux.HandleFunc("/archive/", app.archive)
+ mux.HandleFunc("/atom.xml", app.feed)
mux.HandleFunc("/", app.home)
if *addr == ":443" {