From a24efe22602de1b0887a8a5a72f3327a2ec8686f Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 26 Mar 2013 12:45:43 +0100 Subject: removed app.use.router - it was preventing static file handling --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index e498b14..93dde0d 100644 --- a/app.js +++ b/app.js @@ -28,7 +28,6 @@ app.configure(function(){ app.use(express.cookieParser()); app.use(express.session({ secret: 'lsdrghoi4hgqio42nqf2uqi32f3bilu23fl23b' })); app.use(express.methodOverride()); - app.use(app.router); app.use(express.static(path.join(__dirname, 'public'))); }); @@ -37,6 +36,7 @@ app.configure('development', function(){ }); + /** * Routes */ -- cgit v1.2.3