config.prod.js 360 B

1234567891011121314151617181920
  1. 'use strict';
  2. module.exports = () => {
  3. const config = (exports = {});
  4. config.cluster = {
  5. listen: {
  6. port: 11000,
  7. },
  8. };
  9. config.mongoose = {
  10. url: 'mongodb://localhost:27017/htyd',
  11. options: {
  12. user: 'admin',
  13. pass: 'admin',
  14. authSource: 'admin',
  15. useNewUrlParser: true,
  16. useCreateIndex: true,
  17. },
  18. };
  19. };