diff options
Diffstat (limited to 'cmd/web/handlers')
| -rw-r--r-- | cmd/web/handlers/routes.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/web/handlers/routes.go b/cmd/web/handlers/routes.go index 1ffee3f..6a938fb 100644 --- a/cmd/web/handlers/routes.go +++ b/cmd/web/handlers/routes.go @@ -46,9 +46,5 @@ func RegisterEndpoints(app types.Application, db *sql.DB) *http.ServeMux { blogRouter.HandleFunc("/static/get", static.get) - blogRouter.HandleFunc("/favicon.ico", func(w http.ResponseWriter, r *http.Request) { - http.ServeFile(w, r, "./static/favicon.ico") - }) - return blogRouter } |
