diff --git a/cmd/root.go b/cmd/root.go index 96dae4a..1d506c3 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -12,7 +12,7 @@ import ( ) const ( - ReleaseVersion string = "0.81.0" + ReleaseVersion string = "0.82.0" ) var ( diff --git a/types/text/text.go b/types/text/text.go index 8a16e7c..f9f37f0 100644 --- a/types/text/text.go +++ b/types/text/text.go @@ -46,23 +46,27 @@ func (t Format) Extensions() map[string]string { return map[string]string{ `.css`: `text/css`, `.csv`: `text/csv`, - `.htm`: `text/html`, - `.html`: `text/html`, `.js`: `text/javascript`, `.json`: `application/json`, `.md`: `text/markdown`, + `.ps1`: `text/plain`, + `.sh`: `application./x-sh`, + `.toml`: `application/toml`, `.txt`: `text/plain`, `.xml`: `application/xml`, + `.yml`: `application/yaml`, + `.yaml`: `application/yaml`, } } func (t Format) MimeTypes() []string { return []string{ `application/json`, + `application/toml`, `application/xml`, + `application/yaml`, `text/css`, `text/csv`, - `text/html`, `text/javascript`, `text/plain`, `text/plain; charset=utf-8`,