aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-04-10 13:46:25 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-04-10 13:46:25 +0200
commitce92629495d3f00c4a719a3ed7b68990697b9529 (patch)
tree68648a324fdaac4cb3fb462911288861e2e174d8 /app.js
parentFixed minor errors in get dashboard (diff)
downloadDivid-ce92629495d3f00c4a719a3ed7b68990697b9529.tar.gz
added less
Diffstat (limited to '')
-rw-r--r--app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.js b/app.js
index 20ef187..6bd8a81 100644
--- a/app.js
+++ b/app.js
@@ -28,6 +28,7 @@ app.configure(function(){
app.use(express.cookieParser());
app.use(express.session({ secret: 'lsdrghoi4hgqio42nqf2uqi32f3bilu23fl23b' }));
app.use(express.methodOverride());
+ app.use(require('less-middleware')({ src: __dirname + '/public' }));
app.use(express.static(path.join(__dirname, 'public')));
});