diff --git a/internal/commands/host.go b/internal/commands/host.go index c23265c..f00fd01 100644 --- a/internal/commands/host.go +++ b/internal/commands/host.go @@ -18,6 +18,7 @@ package commands import ( "context" + "mime" "net/http" "github.com/urfave/cli/v2" @@ -51,6 +52,10 @@ var ( Action: func(ctx *cli.Context) error { log := zaputil.Extract(ctx.Context) + _ = mime.AddExtensionType(".woff2", "application/font-woff2") + _ = mime.AddExtensionType(".woff", "application/font-woff") + _ = mime.AddExtensionType(".ttf", "font/ttf") + gitService := git.NewService(hostConfig.Git) err := gitService.Load(ctx.Context) if err != nil {