Updated transitive dependencies

This commit is contained in:
Seednode 2023-10-17 20:38:45 -05:00
parent 7721c10e87
commit 8dcd03e07f
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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