diff options
| author | Samuel Johnson <[email protected]> | 2025-11-25 20:55:09 -0500 |
|---|---|---|
| committer | Samuel Johnson <[email protected]> | 2025-11-25 20:55:09 -0500 |
| commit | ee367e65723888bfd8fb9354e896db2a0adae1b0 (patch) | |
| tree | f604d6085cfffd3fdd8788d80022079c452d99d0 | |
| parent | 44d6620b32f31c04663c9e08a1c3954273230ee8 (diff) | |
Fix path
| -rw-r--r-- | cmd/web/handlers/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
