Modify all serve_* modules to return a Promise (preparation for #140)
This commit is contained in:
@@ -117,5 +117,7 @@ module.exports = function(options, repo, params, id, reportTiles, reportFont) {
|
||||
});
|
||||
});
|
||||
|
||||
return app;
|
||||
return new Promise(function(resolve, reject) {
|
||||
resolve(app);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user