config.js 370 B

1234567891011121314
  1. /**
  2. * naiveboom配置文件
  3. * @type {Object}
  4. */
  5. module.exports = {
  6. // redis服务器配置
  7. redis_host: '127.0.0.1',
  8. redis_port: '6379',
  9. redis_pwd: null, // 没有redis密码则写 null
  10. // 列表Hash表名
  11. field_lists: 'naives',
  12. // 匹配GUID的正则表达式
  13. regex_guid: /[?a-zA-Z0-9]{8}-[?a-zA-Z0-9]{4}-[?a-zA-Z0-9]{4}-[?a-zA-Z0-9]{4}-[?a-zA-Z0-9]{12}$/,
  14. }