aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-03-26 12:45:43 +0100
committerDennis Eriksen <dennis.se@gmail.com>2013-03-26 12:45:43 +0100
commita24efe22602de1b0887a8a5a72f3327a2ec8686f (patch)
tree26b4b08d2e33590004b4dbf186469fa283d3f167 /app.js
parentadded 404 (diff)
downloadDivid-a24efe22602de1b0887a8a5a72f3327a2ec8686f.tar.gz
removed app.use.router - it was preventing static file handling
Diffstat (limited to '')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
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
*/