fixed improper parsing of url in loader, and updated mongo init to not send anything in cb except err. Also updated webserver init so that it doesn't expect stuff from static:app.preload

This commit is contained in:
Julian Lam
2015-04-27 22:51:44 -04:00
parent f6ddff3e5f
commit 379bdd12e0
3 changed files with 7 additions and 5 deletions

View File

@@ -142,7 +142,9 @@
async.apply(createIndex, 'searchpost', {content: 'text', uid: 1, cid: 1}, {background: true}),
async.apply(createIndex, 'searchpost', {id: 1}, {background: true})
], callback);
], function(err) {
callback(err);
});
}
function createIndex(collection, index, options, callback) {