diff options
| -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"), |
