diff --git a/api/app/lib/index.js b/api/app/lib/index.js index 72b6097a..7bfe983a 100644 --- a/api/app/lib/index.js +++ b/api/app/lib/index.js @@ -5,7 +5,7 @@ const fs = require('fs'); const path = require('path'); const authenticator = require('./middlewares/authenticator'); // const apiLog = require('./middlewares/api-log'); -const businessRest = require('./middlewares/business-rest'); +// const businessRest = require('./middlewares/business-rest'); module.exports.entry = function (app, router, opts) { app.fs.logger.log('info', '[FS-AUTH]', 'Inject auth and api mv into router.'); @@ -15,7 +15,7 @@ module.exports.entry = function (app, router, opts) { app.fs.api.logAttr = app.fs.api.logAttr || {}; router.use(authenticator(app, opts)); - router.use(businessRest(app, router, opts)); + // router.use(businessRest(app, router, opts)); // router.use(apiLog(app, opts)); router = routes(app, router, opts);