mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
refactor(tooling): add turbo eslint plugin (#65734)
This commit is contained in:
committed by
GitHub
parent
f054de20fd
commit
ae50644091
@@ -159,12 +159,7 @@ if (process.env.FREECODECAMP_NODE_ENV !== 'development') {
|
||||
export const HOME_LOCATION = process.env.HOME_LOCATION;
|
||||
// Mailpit is used in development and test environments, hence the localhost
|
||||
// default.
|
||||
// TODO: Remove MAILHOG_HOST in a few months
|
||||
// We renamed MailHog to MailPit, but kept the same port and API
|
||||
// This is to keep backward compatibility with existing setups
|
||||
// that might still use MAILHOG_HOST environment variable
|
||||
export const MAILPIT_HOST =
|
||||
process.env.MAILPIT_HOST ?? process.env.MAILHOG_HOST ?? 'localhost';
|
||||
export const MAILPIT_HOST = process.env.MAILPIT_HOST ?? 'localhost';
|
||||
export const MONGOHQ_URL =
|
||||
process.env.NODE_ENV === 'test'
|
||||
? createTestConnectionURL(
|
||||
|
||||
Reference in New Issue
Block a user