hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit aa690c8e95ec75557503dbb4d8fcd34bc043be60
parent 34f40044d7144dddcd613d60df8e24985158dd8c
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed, 15 Jun 2016 19:34:21 +0200

commands: Fix charsets in mimetypes

Fixes #2218

Diffstat:
Mcommands/server.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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")
 
 }