config.js 302 Bytes
Newer Older
우지원's avatar
우지원 committed
1
2
3
4
const config = {
    env: process.env.NODE_ENV || 'development',
    port: process.env.PORT || 3030,
    jwtSecret: process.env.JWT_SECRET || 'My_Secret_Key',
JeongYeonwoo's avatar
   
JeongYeonwoo committed
5
6
    mongoDbUri: process.env.MONGODB_URI || 'mongodb://localhost/messenger',
    cookieMaxAge: 60 * 60 * 24 * 7 * 1000,
우지원's avatar
우지원 committed
7
8
9
}

export default config