added utf8 to content type of api responses, thx @0ip

pull/108/merge
Peter 'Pita' Martischka 2011-08-19 21:57:15 +01:00
parent 82dd4802d7
commit b9c1b45a8b
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ async.waterfall([
app.get('/api/1/:func', function(req, res)
{
res.header("Server", serverName);
res.header("Content-Type", "application/json");
res.header("Content-Type", "application/json; charset=utf-8");
apiLogger.info("REQUEST, " + req.params.func + ", " + JSON.stringify(req.query));