'use strict'; module.exports = () => { const config = exports = {}; config.dbName = 'question'; config.mongoose = { url: `mongodb://localhost:27017/${config.dbName}`, options: { user: 'admin', pass: 'admin', authSource: 'admin', useNewUrlParser: true, useCreateIndex: true, }, }; config.export = { root_path: '/usr/local/workspace/server/service-file/upload', domain: 'http://127.0.0.1', }; return config; };