var os      = require('os')
	, path    = require('path')
	, express = require('express')
	, less    = require('less-middleware')
	, tmp     = path.join(os.tmpDir(), 'TesselKey')
	, root    = __dirname
	, pub     = path.join(root, 'public')
	, images  = path.join(pub, 'images')
	, scripts = path.join(pub, 'scripts')
	, views   = path.join(root, 'views')
	, app     = express()
	, trimmer = require('./modules/trimmer.js')
;

app.disable('x-powered-by');

app.configure(function() {
	app.use(trimmer());
	//app.use(express.compress());
	app.use(express.favicon());
	app.use('/images',  express.static(images));
	app.use('/scripts', express.static(scripts));
	app.use(less({ src: pub, dest: tmp }));
	app.use(express.static(tmp));
	//app.use(trimmer());
	app.use(express.static(views));
});

app.listen(80);
var os      = require('os')
	, path    = require('path')
	, express = require('express')
	, less    = require('less-middleware')
	, tmp     = path.join(os.tmpDir(), 'TesselKey')
	, root    = __dirname
	, pub     = path.join(root, 'public')
	, images  = path.join(pub, 'images')
	, scripts = path.join(pub, 'scripts')
	, views   = path.join(root, 'views')
	, app     = express()
	, trimmer = require('./modules/trimmer.js')
;

app.disable('x-powered-by');

app.configure(function() {
	app.use(express.compress());
	app.use(trimmer());
	app.use(express.favicon());
	app.use('/images',  express.static(images));
	app.use('/scripts', express.static(scripts));
	app.use(less({ src: pub, dest: tmp }));
	app.use(express.static(tmp));
	app.use(express.static(views));
});

app.listen(80);
Allow compression and whitespace trimming.
Allow compression and whitespace trimming.
