diff --git a/cmd/server/serve.go b/cmd/server/serve.go index c637912..073d838 100644 --- a/cmd/server/serve.go +++ b/cmd/server/serve.go @@ -16,7 +16,6 @@ import ( "github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2/middleware/cors" - "github.com/gofiber/fiber/v2/middleware/favicon" "github.com/gofiber/fiber/v2/middleware/logger" "github.com/gofiber/fiber/v2/middleware/recover" "github.com/spf13/cobra" @@ -75,10 +74,6 @@ func serve() { AllowCredentials: true, })) - app.Use(favicon.New(favicon.Config{ - File: "internal/handler/views/assets/favicon.ico", - URL: "/favicon.ico", - })) app.Use("/assets", views.EmbedAssets()) app.Routes() diff --git a/internal/handler/views/layout.templ b/internal/handler/views/layout.templ index d30413e..23890ed 100644 --- a/internal/handler/views/layout.templ +++ b/internal/handler/views/layout.templ @@ -37,6 +37,7 @@ templ base(m Meta) { + diff --git a/internal/handler/views/layout_templ.go b/internal/handler/views/layout_templ.go index 59c8c49..a50ad8c 100644 --- a/internal/handler/views/layout_templ.go +++ b/internal/handler/views/layout_templ.go @@ -150,14 +150,14 @@ func base(m Meta) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\">