commands: Fix charsets in mimetypes

Fixes #2218
This commit is contained in:
Bjørn Erik Pedersen 2016-06-15 19:34:21 +02:00
parent 34f40044d7
commit aa690c8e95

View file

@ -97,8 +97,8 @@ func init() {
serverCmd.Flags().Int("meminterval", 100, "interval to poll memory usage (requires --memstats)")
serverCmd.RunE = server
mime.AddExtensionType(".json", "application/json; charset=utf8")
mime.AddExtensionType(".css", "text/css; charset=utf8")
mime.AddExtensionType(".json", "application/json; charset=utf-8")
mime.AddExtensionType(".css", "text/css; charset=utf-8")
}