config.js 303 Bytes
Newer Older
Lee SeoYeon's avatar
0111    
Lee SeoYeon committed
1
2
3
4
const config = {
    env: process.env.NODE_ENV || 'development',
    port: process.env.PORT || 3001,
    jwtSecret: process.env.JWT_SECRET || 'My_Secret_Key',
Lee SeoYeon's avatar
.    
Lee SeoYeon committed
5
    mongoDbUri: process.env.MONGODB_URI || 'mongodb://localhost/search-page',
Lee SeoYeon's avatar
0113    
Lee SeoYeon committed
6
    cookieMaxAge: 60 * 60 * 24 * 7 * 1000
Lee SeoYeon's avatar
0111    
Lee SeoYeon committed
7
8
9
}

export default config