]> git.wincent.com - hextrapolate.git/commit
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)
commit0dfd4121386ccf7be3db2323822bfffd9ac8c1d3
tree0eabc38d3f7f2c0a87e1710589995efa47d7f3a4
parent938a51532553481b687476a6a3e7f1dc672e057f
Fix charset when "serving" from local filesystem

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