From 89746890f8aa43c57e6f31c8fb825c70c2f8109d Mon Sep 17 00:00:00 2001 From: Manuel Cabral Date: Fri, 19 Sep 2014 14:26:40 +0100 Subject: [PATCH] Fix default Content-Type --- lib/express-ie-cors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/express-ie-cors.js b/lib/express-ie-cors.js index 0fc63e8..9fa2167 100644 --- a/lib/express-ie-cors.js +++ b/lib/express-ie-cors.js @@ -12,7 +12,7 @@ var useragent = require('useragent'); module.exports = function (options) { options = options || {}; - var newContentType = options.contentType || 'application/json;charset=utf-8"'; + var newContentType = options.contentType || 'application/json;charset=utf-8'; return function (req, res, next) { var useragentString = req.headers['user-agent'];