소스 검색

Add UTF8 to server-redis HTML

Jesterovskiy 9 년 전
부모
커밋
352a75da47
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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