Refactor to downloader

This commit is contained in:
Ben Sarmiento
2024-01-08 23:17:03 +01:00
parent 5a23d0ff7b
commit 8a76cb0267
4 changed files with 26 additions and 24 deletions

View File

@@ -64,6 +64,8 @@ func getContentMimeType(filePath string) string {
return "application/x-rar-compressed"
case ".zip":
return "application/zip"
case ".txt":
return "text/plain"
default:
return "application/octet-stream"
}