add BASE_URL env variable
parent
62509e2df9
commit
a5c1bf1319
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue