Refactor for hotfix release
This commit is contained in:
@@ -58,12 +58,6 @@ func getContentMimeType(filePath string) string {
|
||||
return "audio/mpeg"
|
||||
case ".rar":
|
||||
return "application/x-rar-compressed"
|
||||
case ".zip":
|
||||
return "application/zip"
|
||||
case ".7z":
|
||||
return "application/x-7z-compressed"
|
||||
case ".srt":
|
||||
return "text/plain"
|
||||
default:
|
||||
return "application/octet-stream"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user