Minify and compress JS & CSS before sending it

This commit is contained in:
Peter 'Pita' Martischka 2011-05-28 18:09:17 +01:00
parent d81b539061
commit 0c3f0e981a
9 changed files with 289 additions and 39 deletions

View file

@ -22,6 +22,7 @@ exports.dbType = "sqlite";
exports.dbSettings = { "filename" : "../var/sqlite.db" };
exports.logHTTP = true;
exports.defaultPadText = "Welcome to Etherpad Lite!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nEtherpad Lite on Github: http:\/\/j.mp/ep-lite\n";
exports.minify = true;
//read the settings sync
var settingsStr = fs.readFileSync("../settings.json").toString();