Extra Mimetypes (#17)

Vastly expands the list of mimetypes we can detect from file extensions.
This commit is contained in:
Sylvie Crowe
2024-06-04 17:58:29 -07:00
committed by GitHub
parent 29e209e0b0
commit 2f2ff8a1cb
5 changed files with 1233 additions and 11 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ type FileInfo struct {
type FullFile struct {
Info *FileInfo `json:"info"`
Data64 string `json:"data64,omitempty"` // base64 encoded
Data64 string `json:"data64"` // base64 encoded
}
func (fs *FileService) StatFile(path string) (*FileInfo, error) {