mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-31 11:44:34 +01:00
placeholder favicon handler.
This commit is contained in:
5
favicon.go
Normal file
5
favicon.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package main
|
||||
|
||||
import "net/http"
|
||||
|
||||
func renderFavicon(w http.ResponseWriter, r *http.Request) {}
|
||||
1
main.go
1
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)
|
||||
|
||||
Reference in New Issue
Block a user