repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
a5e8f68
parent
4ae5b1a
author
Eric Bower
date
2025-02-27 10:47:39 -0500 EST
chore(pgs): zip and rar content type
1 files changed,  +4, -0
M shared/storage/proxy.go
+4, -0
 1@@ -86,6 +86,10 @@ func GetMimeType(fpath string) string {
 2 		return "application/vnd.ms-fontobject"
 3 	} else if ext == ".yml" || ext == ".yaml" {
 4 		return "text/x-yaml"
 5+	} else if ext == ".zip" {
 6+		return "application/zip"
 7+	} else if ext == ".rar" {
 8+		return "application/vnd.rar"
 9 	} else if ext == ".txt" {
10 		return "text/plain"
11 	}