mirror of https://github.com/golang/go.git
Fix mime support on Arch Linux
Some systems use "httpd" directory structure instead of "apache"
This commit is contained in:
parent
4489f4bc84
commit
c64766f88c
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue