Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-06-15 20:34:21 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-06-15 20:34:21 +0300
commitaa690c8e95ec75557503dbb4d8fcd34bc043be60 (patch)
tree731f8cfd19da1cf285ce27f5fe85d90636fd9d86 /commands
parent34f40044d7144dddcd613d60df8e24985158dd8c (diff)
commands: Fix charsets in mimetypes
Fixes #2218
Diffstat (limited to 'commands')
-rw-r--r--commands/server.go4
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")
}