index.js 787 Bytes
module.exports = {
  delay: 500,
  database: {
    connect: {
      host: 'write.ufo.yohoops.org',
      port: '3306',
      user: 'yh_vpc_bak',
      password: 'yoho@2Y$^YpNb7hp',
      charset: 'utf8mb4',
      timezone: '+08:00'
    },
    database: 'ufo_product',
  },
  // database: {
  //   connect: {
  //     host: '192.168.102.219',
  //     port: '3306',
  //     user: 'yh_test',
  //     password: 'yh_test',
  //     charset: 'utf8mb4',
  //     timezone: '+08:00'
  //   },
  //   database: 'ufo_product',
  // },
  loggers: [{
    silent: true,
    type: 'dailyfile',
    level: 'info',
    filename: 'logs/info.log',
  }, {
    silent: true,
    type: 'dailyfile',
    level: 'error',
    filename: 'logs/error.log',
  }, {
    type: 'console',
    level: 'debug',
  }]
}