diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-06-15 20:34:21 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-06-15 20:34:21 +0300 |
commit | aa690c8e95ec75557503dbb4d8fcd34bc043be60 (patch) | |
tree | 731f8cfd19da1cf285ce27f5fe85d90636fd9d86 /commands | |
parent | 34f40044d7144dddcd613d60df8e24985158dd8c (diff) |
commands: Fix charsets in mimetypes
Fixes #2218
Diffstat (limited to 'commands')
-rw-r--r-- | commands/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/server.go b/commands/server.go index 3564890f4..4318905b3 100644 --- a/commands/server.go +++ b/commands/server.go @@ -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") } |