diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-03-26 12:45:43 +0100 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-03-26 12:45:43 +0100 |
commit | a24efe22602de1b0887a8a5a72f3327a2ec8686f (patch) | |
tree | 26b4b08d2e33590004b4dbf186469fa283d3f167 /app.js | |
parent | added 404 (diff) | |
download | Divid-a24efe22602de1b0887a8a5a72f3327a2ec8686f.tar.gz |
removed app.use.router - it was preventing static file handling
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |