config.prod.js 572 B

123456789101112131415161718192021222324252627
  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://127.0.0.1:27017/htyd',
  11. options: {
  12. user: 'admin',
  13. pass: '111111',
  14. authSource: 'admin',
  15. useUnifiedTopology: true,
  16. useNewUrlParser: true,
  17. useCreateIndex: true,
  18. },
  19. };
  20. config.appInfo = {
  21. id: 'wx74f916cbbb2173fa',
  22. secret: '3cc515d634c854d60ec8b341119ada09',
  23. store: '1606113941',
  24. storeKey: 'hongtaiyuedawangluohuliankejighw',
  25. };
  26. };