added favicon 404
This commit is contained in:
parent
fbff282067
commit
dae45986f6
3 changed files with 9 additions and 0 deletions
|
|
@ -63,6 +63,9 @@ func main() {
|
|||
dbUrl, dbBody,
|
||||
apiUrl, apiBody)
|
||||
})
|
||||
http.HandleFunc("/favicon.ico", func(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
})
|
||||
s := &http.Server{
|
||||
ReadTimeout: 5 * time.Second,
|
||||
WriteTimeout: 10 * time.Second,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue