fix(deps): update all dependencies

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Henrique Dias <[email protected]>
This commit is contained in:
renovate[bot]
2025-06-20 07:56:09 +02:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Henrique Dias
parent 1bbf52e475
commit 758410ba64
4 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ type noSniffFileInfo struct {
}
func (w noSniffFileInfo) ContentType(ctx context.Context) (contentType string, err error) {
if mimeType := mime.TypeByExtension(path.Ext(w.FileInfo.Name())); mimeType != "" {
if mimeType := mime.TypeByExtension(path.Ext(w.Name())); mimeType != "" {
// We can figure out the mime from the extension.
return mimeType, nil
} else {