Repair rework

This commit is contained in:
Ben Sarmiento
2024-01-07 03:00:25 +01:00
parent 5d733b8be4
commit e5f0f4d7bd
5 changed files with 50 additions and 47 deletions

View File

@@ -54,10 +54,16 @@ func getContentMimeType(filePath string) string {
return "video/mp4"
case ".avi":
return "video/x-msvideo"
case ".wmv":
return "video/x-ms-wmv"
case ".m4v":
return "video/x-m4v"
case ".mp3":
return "audio/mpeg"
case ".rar":
return "application/x-rar-compressed"
case ".zip":
return "application/zip"
default:
return "application/octet-stream"
}