mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-19 02:04:10 +00:00
fix(emails): always use main site as base url
This commit is contained in:
parent
c444f54e42
commit
fc1f6ba0b9
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ module.exports.txnEmail = function(mailingInfoArray, emailType, variables, perso
|
|||
var mailingInfoArray = Array.isArray(mailingInfoArray) ? mailingInfoArray : [mailingInfoArray];
|
||||
|
||||
var variables = [
|
||||
{name: 'BASE_URL', content: baseUrl}
|
||||
{name: 'BASE_URL', content: 'https://habitrpg.com'}
|
||||
].concat(variables || []);
|
||||
|
||||
// It's important to pass at least a user with its `preferences` as we need to check if he unsubscribed
|
||||
|
|
|
|||
Loading…
Reference in a new issue