updated to use settings

updated handler/SocketIORouter.js to use new setting
updated hooks/express.js to use new setting
updated utils/Settings.js to accept new setting
updated settings.json.template so new setting is present
This commit is contained in:
Spruce (Felix Fichte) 2013-04-24 12:19:41 +02:00
parent 6ea5efbcc3
commit fb0bc31056
4 changed files with 20 additions and 7 deletions

View file

@ -119,6 +119,11 @@ exports.logconfig = { appenders: [{ type: "console" }]};
*/
exports.sessionKey = false;
/*
* Trust Proxy, whether or not trust the x-forwarded-for header.
*/
exports.trustProxy = false;
/* This setting is used if you need authentication and/or
* authorization. Note: /admin always requires authentication, and
* either authorization by a module, or a user with is_admin set */