diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2026-09-02 23:30:39 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2026-09-02 23:30:49 -0700 |
| commit | 356f967b128ac5b2f9b2a7d4a3144919b48a8737 (patch) | |
| tree | b305f887a08db89fb36d28cabad3438ae4d6c858 | |
| parent | 303ed1618f0efa1ec99ce7259f257fee6cf602a0 (diff) | |
| download | roseh.moe-main.tar.zst | |
| -rw-r--r-- | roseh.moe.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roseh.moe.go b/roseh.moe.go index 5bc02d8..fc61213 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -1103,8 +1103,7 @@ func main() { cgitStaticFiles := http.FileServer(http.Dir(*cgit)) cgitMux.Handle("/cgit.css", cgitStaticFiles) cgitMux.Handle("/cgit.js", cgitStaticFiles) - cgitMux.Handle("/cgit.png", cgitStaticFiles) - cgitMux.Handle("/favicon.ico", cgitStaticFiles) + cgitMux.HandleFunc("/favicon.ico", favicon) cgitMux.Handle("/robots.txt", cgitStaticFiles) cgitMux.Handle("/", &cgi.Handler{ Path: filepath.Join(*cgit, "cgit.cgi"), |
