remove maxAge: undefined header, send maxAge even if set to 0

This commit is contained in:
Matthias Bartelmeß 2012-04-04 17:41:03 +02:00
parent e387e25c05
commit 5c4551b098
3 changed files with 7 additions and 11 deletions

View file

@ -51,10 +51,6 @@ console.log("Report bugs at https://github.com/Pita/etherpad-lite/issues")
var serverName = "Etherpad-Lite " + version + " (http://j.mp/ep-lite)";
//cache 6 hours, by default
var hour = 60*60;
exports.maxAge = settings.maxAge || 6 * hour;
//set loglevel
log4js.setGlobalLogLevel(settings.loglevel);