mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(tools): s/MailHog/Mailpit/g (#62481)
This commit is contained in:
committed by
GitHub
parent
034d6b1569
commit
ef610dd36c
@@ -11,8 +11,8 @@ export class NodemailerProvider implements MailProvider {
|
||||
private transporter: Transporter;
|
||||
|
||||
/**
|
||||
* Sets up nodemailer, with hardcodeded configuration. This is intended for
|
||||
* use in development.
|
||||
* Sets up nodemailer, with hardcoded configuration. This is intended for
|
||||
* use in development with Mailpit.
|
||||
*/
|
||||
constructor() {
|
||||
this.transporter = nodemailer.createTransport({
|
||||
|
||||
@@ -157,7 +157,7 @@ if (process.env.FREECODECAMP_NODE_ENV !== 'development') {
|
||||
}
|
||||
|
||||
export const HOME_LOCATION = process.env.HOME_LOCATION;
|
||||
// Mailhog is used in development and test environments, hence the localhost
|
||||
// Mailpit is used in development and test environments, hence the localhost
|
||||
// default.
|
||||
export const MAILHOG_HOST = process.env.MAILHOG_HOST ?? 'localhost';
|
||||
export const MONGOHQ_URL =
|
||||
|
||||
Reference in New Issue
Block a user