From 9abb8003840341dcca22faa748bb6d7bca1e532f Mon Sep 17 00:00:00 2001 From: Adam Hull Date: Thu, 2 May 2013 19:17:23 -0700 Subject: [PATCH] default bundle.js to utf-8 encoding --- bin/cmd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cmd.js b/bin/cmd.js index f9fa7df..6135797 100755 --- a/bin/cmd.js +++ b/bin/cmd.js @@ -36,7 +36,7 @@ var server = http.createServer(function (req, res) { res.end(''); } else if (req.url === '/bundle.js') { - res.setHeader('content-type', 'application/javascript'); + res.setHeader('content-type', 'application/javascript; charset=utf-8;'); res.end(prelude + '\n' + src); } });