This commit is contained in:
Leandro Facchinetti 2020-03-22 11:50:18 -04:00
parent 38e190ea52
commit 96b0b38a93
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ export const emailServer = new SMTPServer({
callback();
})().catch(error => {
console.error(error);
stream.end(() => callback(error));
stream.resume();
callback(error);
});
}
}).listen(process.env.NODE_ENV === "production" ? 25 : 2525);