Updated install script to bundle ZoneMTA
This commit is contained in:
parent
0c0942cf64
commit
d2f0d16980
4 changed files with 164 additions and 9 deletions
|
@ -262,7 +262,7 @@ module.exports.add = (url, campaignId, callback) => {
|
|||
module.exports.updateLinks = (campaign, list, subscription, serviceUrl, message, callback) => {
|
||||
let re = /(<a[^>]* href\s*=[\s"']*)(http[^"'>\s]+)/gi;
|
||||
let urls = new Set();
|
||||
message.replace(re, (match, prefix, url) => {
|
||||
(message || '').replace(re, (match, prefix, url) => {
|
||||
urls.add(url);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue