From ee367e65723888bfd8fb9354e896db2a0adae1b0 Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Tue, 25 Nov 2025 20:55:09 -0500 Subject: Fix path --- cmd/web/handlers/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/web') diff --git a/cmd/web/handlers/routes.go b/cmd/web/handlers/routes.go index 4b80615..1ffee3f 100644 --- a/cmd/web/handlers/routes.go +++ b/cmd/web/handlers/routes.go @@ -47,7 +47,7 @@ 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") + http.ServeFile(w, r, "./static/favicon.ico") }) return blogRouter -- cgit v1.2.3