This commit is contained in:
parent
38e190ea52
commit
96b0b38a93
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue