diff options
| author | Samuel Johnson <[email protected]> | 2025-11-25 20:59:55 -0500 |
|---|---|---|
| committer | Samuel Johnson <[email protected]> | 2025-11-25 20:59:55 -0500 |
| commit | 42e0b96e75ba13e2994de7cc258db325cebea47c (patch) | |
| tree | 4a182789e5e63b046071030a8f591d35ed44d65c /cmd | |
| parent | ee367e65723888bfd8fb9354e896db2a0adae1b0 (diff) | |
Actually make icon available
Diffstat (limited to 'cmd')
| -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 } |
