Fix charset when "serving" from local filesystem
authorGreg Hurrell <greg@hurrell.net>
Mon, 3 Aug 2015 17:27:48 +0000 (10:27 -0700)
committerGreg Hurrell <greg@hurrell.net>
Mon, 3 Aug 2015 17:27:48 +0000 (10:27 -0700)
React converts the entity to a UTF-8 character, which works fine when
serving using the Webpack dev server (which presumably passes an HTTP
Content-Type header), but for testing with a local file:// URL, things
don't work unless we explicitly indicate the type.

index.html

index 61fdb4d0de097a5310e88d532930ecf767eddf42..84c964fc4c632bfed300e7da89e5a75c45953abb 100644 (file)
@@ -1,5 +1,6 @@
 <html>
   <head>
+    <meta charset="utf-8" />
     <title>Hextrapolate</title>
   </head>
   <body>