Explorar o código

Add UTF8 to server-redis HTML

Jesterovskiy %!s(int64=9) %!d(string=hai) anos
pai
achega
352a75da47
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frameworks/Crystal/kemal/server-redis.cr

+ 1 - 1
frameworks/Crystal/kemal/server-redis.cr

@@ -11,7 +11,7 @@ class CONTENT
   UTF8 = "; charset=UTF-8"
   JSON = "application/json"
   PLAIN = "text/plain"
-  HTML = "text/html"
+  HTML = "text/html" + UTF8
 end
 
 ID_MAXIMUM = 10_000