Fix mime support on Arch Linux

Some systems use "httpd" directory structure instead of "apache"
This commit is contained in:
Andy Williams 2020-06-05 11:00:26 +01:00 committed by GitHub
parent 4489f4bc84
commit c64766f88c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ var typeFiles = []string{
"/etc/mime.types",
"/etc/apache2/mime.types",
"/etc/apache/mime.types",
"/etc/httpd/conf/mime.types",
}
func loadMimeFile(filename string) {