Remove favicon 404

This commit is contained in:
Ken-Håvard Lieng 2017-04-14 04:40:31 +02:00
parent e5832d2c58
commit 495598ac37
1 changed files with 0 additions and 5 deletions

View File

@ -157,11 +157,6 @@ func serveFiles(w http.ResponseWriter, r *http.Request) {
return
}
if strings.HasSuffix(r.URL.Path, "favicon.ico") {
w.WriteHeader(404)
return
}
for _, file := range files {
if strings.HasSuffix(r.URL.Path, file.Path) {
serveFile(w, r, file)