christmas/config/index.js
2018-11-22 18:42:19 -05:00

9 lines
365 B
JavaScript

require('dotenv').config();
module.exports = {
dbUrl: process.env.DB_URL || 'db',
defaultFailureRedirect: process.env.DEFAULT_FAILURE_REDIRECT || '/login',
port: process.env.PORT || 3000,
proxyServer: process.env.PROXY_SERVER || undefined,
secret: process.env.SECRET || require('./secret'),
siteTitle: process.env.SITE_TITLE || 'Christmas Community'
};