From 8dcd03e07ffa4393a706b60626bead623fd36f71 Mon Sep 17 00:00:00 2001 From: Seednode Date: Tue, 17 Oct 2023 20:38:45 -0500 Subject: [PATCH] Updated transitive dependencies --- cmd/root.go | 2 +- types/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 8c9a8f3..683834a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -92,7 +92,7 @@ func init() { rootCmd.Flags().BoolVar(&Fallback, "fallback", false, "serve files as application/octet-stream if no matching format is registered") rootCmd.Flags().BoolVarP(&Filtering, "filter", "f", false, "enable filtering") rootCmd.Flags().BoolVar(&Flash, "flash", false, "enable support for shockwave flash files (via ruffle.rs)") - rootCmd.Flags().BoolVar(&Fun, "fun", false, "adds a bit of excitement to your day") + rootCmd.Flags().BoolVar(&Fun, "fun", false, "add a bit of excitement to your day") rootCmd.Flags().BoolVar(&Handlers, "handlers", false, "display registered handlers (for debugging)") rootCmd.Flags().BoolVar(&Images, "images", false, "enable support for image files") rootCmd.Flags().BoolVar(&Index, "index", false, "generate index of supported file paths at startup") diff --git a/types/types.go b/types/types.go index 366dfb0..d23ea61 100644 --- a/types/types.go +++ b/types/types.go @@ -29,7 +29,7 @@ type Type interface { // Returns a map of file extensions to MIME type strings. Extensions() map[string]string - // Given a file extension, returns the corresponding MIME type, + // Given a file extension, returns the corresponding media type, // if one exists. Otherwise, returns an empty string. MediaType(extension string) string