add BASE_URL env variable

pull/55/head
villa7 2019-05-06 13:21:40 -04:00
parent 62509e2df9
commit a5c1bf1319
1 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ module.exports = {
* * * *
***************************************************************************/ ***************************************************************************/
onlyAllowOrigins: [ onlyAllowOrigins: [
'https://roe.ebookfoundation.org' process.env.BASE_URL || 'https://roe.ebookfoundation.org'
] ]
/*************************************************************************** /***************************************************************************
@ -348,7 +348,7 @@ module.exports = {
* * * *
***************************************************************************/ ***************************************************************************/
custom: { custom: {
baseURL: 'https://roe.ebookfoundation.org', baseURL: process.env.BASE_URL || 'https://roe.ebookfoundation.org',
internalEmailAddress: 'support@example.com' internalEmailAddress: 'support@example.com'
// mailgunDomain: 'mg.example.com', // mailgunDomain: 'mg.example.com',