Use mimetype.DetectReader in files.Create to automatically detect and store the MIME type from file content. This fixes task attachment previews, S3 Content-Type headers, and UI display for newly uploaded files. |
||
|---|---|---|
| .. | ||
| db.go | ||
| diagnostics_unix.go | ||
| diagnostics_windows.go | ||
| dump.go | ||
| error.go | ||
| filehandling.go | ||
| files.go | ||
| files_test.go | ||
| main_test.go | ||
| s3_test.go | ||