#2135 remove connect-domain commented-out examples

This commit is contained in:
Tyler Renelle 2013-12-26 22:39:40 -07:00
parent 1b8cba1945
commit e6e961f991
2 changed files with 0 additions and 3 deletions

View file

@ -45,7 +45,6 @@
"pretty-data": "git://github.com/vkiryukhin/pretty-data#master",
"js2xmlparser": "~0.1.2",
"mongoose": "~3.8.1",
"connect-domain": "~0.5.0",
"domain-middleware": "~0.1.0"
},
"private": true,

View file

@ -7,7 +7,6 @@ var app = express();
var nconf = require('nconf');
var utils = require('./utils');
var middleware = require('./middleware');
//var connectDomain = require('connect-domain');
var domainMiddleware = require('domain-middleware');
var server;
var TWO_WEEKS = 1000 * 60 * 60 * 24 * 14;
@ -93,7 +92,6 @@ app.use(passport.initialize());
app.use(passport.session());
app.use(app.router);
//app.use(connectDomain());
var maxAge = (nconf.get('NODE_ENV') === 'production') ? 31536000000 : 0;
app.use(express['static'](path.join(__dirname, "/../build"), { maxAge: maxAge }));