diff --git a/favicon.go b/favicon.go new file mode 100644 index 0000000..0ab9810 --- /dev/null +++ b/favicon.go @@ -0,0 +1,5 @@ +package main + +import "net/http" + +func renderFavicon(w http.ResponseWriter, r *http.Request) {} diff --git a/main.go b/main.go index f54abd7..cc6c615 100644 --- a/main.go +++ b/main.go @@ -102,6 +102,7 @@ func main() { mux.HandleFunc("/npubs-archive/", renderArchive) mux.HandleFunc("/njump/image/", renderImage) mux.HandleFunc("/njump/proxy/", proxy) + mux.HandleFunc("/favicon.ico", renderFavicon) mux.HandleFunc("/robots.txt", renderRobots) mux.HandleFunc("/try", renderTry) mux.HandleFunc("/", render)