Permalink
Browse files

Remove unnecessary pieces of Connect.

  • Loading branch information...
1 parent 7cb88e3 commit 4c2f89222d28381075c222d0599944b213f09a93 @nathanhammond nathanhammond committed Nov 9, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 server.js
View
@@ -8,9 +8,6 @@ var app = connect()
.use(connect.favicon('public/favicon.ico'))
.use(connect.logger('dev'))
.use(connect.static('public'))
- .use(connect.directory('public'))
- .use(connect.cookieParser())
- .use(connect.session({ secret: 'my secret here' }))
.use(function(req, res){
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('<html><body>Hello from Connect!</body></html>\n');

0 comments on commit 4c2f892

Please sign in to comment.