fix(app) fix mock mode
This commit is contained in:
parent
142dbe7f8b
commit
7c81050c3c
2 changed files with 7 additions and 4 deletions
|
|
@ -84,10 +84,12 @@ module.exports = function (options) {
|
|||
};
|
||||
}
|
||||
|
||||
if (options.mock) logger.info('In mock mode');
|
||||
|
||||
routes.init({
|
||||
app: app,
|
||||
lamassuConfig: config,
|
||||
trader: trader,
|
||||
app: app,
|
||||
lamassuConfig: config,
|
||||
trader: trader,
|
||||
authMiddleware: authMiddleware,
|
||||
mock: options.mock
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue