commit e2144a9
chld
·
2026-04-25 00:38:35 +0000 UTC
parent 8767d03
fix typo in srv.go:site src a
1 files changed,
+1,
-1
M
srv.go
M
srv.go
+1,
-1
1@@ -20,7 +20,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
2 fmt.Fprintf(w, "<html><body><center>\n")
3 fmt.Fprintf(w, "<p>%s</p>\n", fortune[rand.Intn(len(fortune))])
4 fmt.Fprintf(w, "<img src='/a/chld.png' alt='chld'><br><br>\n")
5- fmt.Fprintf(w, "<a href=https://codeberg.org/chld>berg</a> | <a href=https://sr.ht/~chld/>srht</a> | <a href=https://codeberg,org/chld/web>site src</a>")
6+ fmt.Fprintf(w, "<a href=https://codeberg.org/chld>berg</a> | <a href=https://sr.ht/~chld/>srht</a> | <a href=https://codeberg.org/chld/web>site src</a>")
7
8 c, _ := os.ReadFile("./a/index.html"); fmt.Fprintf(w, "\n\n<br>\n%s", c)
9 d, _ := os.ReadFile("./a/diary.html"); fmt.Fprintf(w, "\n\n<br><p markdown=span>\n%s</p>\n", d)