X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/7cd900d61edbd6d322db3cecb913adf574389320..48ecb30da4babac9955891063f658207a31480ba:/hotline/file_types.go diff --git a/hotline/file_types.go b/hotline/file_types.go index 2162323..40b8374 100644 --- a/hotline/file_types.go +++ b/hotline/file_types.go @@ -11,51 +11,55 @@ var defaultFileType = fileType{ } var fileTypes = map[string]fileType{ - "sit": { + ".sit": { TypeCode: "SIT!", CreatorCode: "SIT!", }, - "pdf": { + ".pdf": { TypeCode: "PDF ", CreatorCode: "CARO", }, - "gif": { + ".gif": { TypeCode: "GIFf", CreatorCode: "ogle", }, - "txt": { + ".txt": { TypeCode: "TEXT", CreatorCode: "ttxt", }, - "zip": { + ".zip": { TypeCode: "ZIP ", CreatorCode: "SITx", }, - "tgz": { + ".tgz": { TypeCode: "Gzip", CreatorCode: "SITx", }, - "hqx": { + ".hqx": { TypeCode: "TEXT", CreatorCode: "SITx", }, - "jpg": { + ".jpg": { TypeCode: "JPEG", CreatorCode: "ogle", }, - "img": { + ".jpeg": { + TypeCode: "JPEG", + CreatorCode: "ogle", + }, + ".img": { TypeCode: "rohd", CreatorCode: "ddsk", }, - "sea": { + ".sea": { TypeCode: "APPL", CreatorCode: "aust", }, - "mov": { + ".mov": { TypeCode: "MooV", CreatorCode: "TVOD", }, - "incomplete": { // Partial file upload + ".incomplete": { // Partial file upload TypeCode: "HTft", CreatorCode: "HTLC", },