production.js 890 Bytes


module.exports = {
  port: 3572,
  entryURL: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx52d72e78b0ecf0f0&redirect_uri=https%3A%2F%2Fwww.51liuliang.cc%2Fnetiou&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect',  
  baseURL: 'https://www.51liuliang.cc/netiou',  
  dir: {
    dist: 'dist',
    static: 'static',
    index: 'dist/index.html'
  },
  db: {
    name: 'number_store_dev',
    username: 'nbms',
    password: 'nbms',
    host: '172.31.1.62',
    dialect: 'postgres',
    port: 5432,
  },
  session: {
    resave: false,
    saveUninitialized: true,
    cookie: {maxAge: 1000*60*60*24*30 },
    redisStore: {host: '127.0.0.1', port: 6379, prefix:'chs-sess'},
    secret: 'test'
  },
  bcrypt: {
    saltRounds: 1,
    salt: "Last Christmas"
  },
  wx: {
    appId: 'wx52d72e78b0ecf0f0',
    appSecret: '7f5b1dd442a6c172586480d9e69c9fee'
  }
}