diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-05-12 00:14:15 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-05-13 23:45:35 +0200 |
commit | f252c7b19a8f8f9e86abb1954e9754ec9d7cb8d6 (patch) | |
tree | 07e54b72a842ba6ea2f55ce37b76fdd99f91b5fa /server.js | |
parent | 9030820a18e21359dabac9d11328ebbeb295f945 (diff) | |
download | server-f252c7b19a8f8f9e86abb1954e9754ec9d7cb8d6.tar.gz |
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -139,6 +139,13 @@ if (process.env.MAIL_HOST && process.env.MAIL_PORT && process.env.MAIL_FROM) { console.log("Mail notifications enabled: ", mailer.options) } else { console.log("Mail notifications disabled.") + if (DEBUG) { + mailer = { + sendMail(mail) { + console.log("MAIL (DEBUG):", mail) + } + } + } } /* |