fix(url-utils): S%/com/org/g
This commit is contained in:
@ -2,7 +2,7 @@ const isDev = process.env.NODE_ENV !== 'production';
|
|||||||
const isBeta = !!process.env.BETA;
|
const isBeta = !!process.env.BETA;
|
||||||
|
|
||||||
export function getEmailSender() {
|
export function getEmailSender() {
|
||||||
return process.env.EMAIL_SENDER || 'team@freecodecamp.com';
|
return process.env.EMAIL_SENDER || 'team@freecodecamp.org';
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getPort() {
|
export function getPort() {
|
||||||
@ -20,7 +20,7 @@ export function getHost() {
|
|||||||
if (isDev) {
|
if (isDev) {
|
||||||
return process.env.HOST || 'localhost';
|
return process.env.HOST || 'localhost';
|
||||||
}
|
}
|
||||||
return isBeta ? 'beta.freecodecamp.com' : 'freecodecamp.com';
|
return isBeta ? 'beta.freecodecamp.org' : 'freecodecamp.org';
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getServerFullURL() {
|
export function getServerFullURL() {
|
||||||
|
Reference in New Issue
Block a user