diff options
author | Matthias Bartelmeß <mba@fourplusone.de> | 2012-03-24 13:28:17 +0100 |
---|---|---|
committer | Matthias Bartelmeß <mba@fourplusone.de> | 2012-03-24 18:48:53 +0100 |
commit | ef248555aaaf93aee25e7aeaac2fb78c2c8ab0e4 (patch) | |
tree | e3e120dfae35b1bf9aec6e44bb9d6aed181c0c74 /src | |
parent | 04f3faac4b39312d6ef52b3e8e54f874274c0b3e (diff) | |
download | etherpad-lite-ef248555aaaf93aee25e7aeaac2fb78c2c8ab0e4.zip |
Send the Content-Type header for plugin-definitions.json in the right format
Diffstat (limited to 'src')
-rw-r--r-- | src/node/hooks/express/static.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/hooks/express/static.js b/src/node/hooks/express/static.js index e8f9afbb..9209967c 100644 --- a/src/node/hooks/express/static.js +++ b/src/node/hooks/express/static.js @@ -35,7 +35,7 @@ exports.expressCreateServer = function (hook_name, args, cb) { // serve plugin definitions // not very static, but served here so that client can do require("pluginfw/static/js/plugin-definitions.js"); args.app.get('/pluginfw/plugin-definitions.json', function (req, res, next) { - res.header("Content-Type","application/json; charset: utf-8"); + res.header("Content-Type","application/json; charset=utf-8"); res.write(JSON.stringify({"plugins": plugins.plugins, "parts": plugins.parts})); res.end(); }); |