mirror of
https://github.com/tenox7/wrp.git
synced 2025-02-16 18:30:27 +00:00
added favico handler
This commit is contained in:
parent
7d84d01268
commit
c6186d6fb4
1
wrp.go
1
wrp.go
@ -105,6 +105,7 @@ func main() {
|
|||||||
|
|
||||||
http.HandleFunc("/", pageServer)
|
http.HandleFunc("/", pageServer)
|
||||||
http.HandleFunc("/wrp.gif", imgServer)
|
http.HandleFunc("/wrp.gif", imgServer)
|
||||||
|
http.HandleFunc("/favicon.ico", http.NotFound)
|
||||||
log.Printf("Starting http server on %s\n", addr)
|
log.Printf("Starting http server on %s\n", addr)
|
||||||
http.ListenAndServe(addr, nil)
|
http.ListenAndServe(addr, nil)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user