From a6bde25e74aa293de638e6ed80f499fe87eab9b4 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 5 Mar 2014 10:55:05 -0300 Subject: [PATCH] actually launch the app --- app.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 0c7d237..f4238cc 100644 --- a/app.js +++ b/app.js @@ -3,7 +3,7 @@ var http = require('http'); var path = require('path'); var favicon = require('static-favicon'); var logger = require('morgan'); -var cookieParser = require('cookie-parser'); +// var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var routes = require('./routes'); @@ -15,7 +15,7 @@ app.use(favicon()); app.use(logger('dev')); app.use(bodyParser.json()); app.use(bodyParser.urlencoded()); -app.use(cookieParser()); +// app.use(cookieParser()); app.use(app.router); app.get('/', routes.index); @@ -51,3 +51,5 @@ app.use(function(err, req, res, next) { }); module.exports = app; + +app.listen(3000);