fix(route): Update URI to use www instead of root domain (#17936)
This commit is contained in:
committed by
GitHub
parent
ae37a2caed
commit
74b1e4e689
@@ -20,7 +20,7 @@ export function getHost() {
|
||||
if (isDev) {
|
||||
return process.env.HOST || 'localhost';
|
||||
}
|
||||
return isBeta ? 'beta.freecodecamp.org' : 'freecodecamp.org';
|
||||
return isBeta ? 'beta.freecodecamp.org' : 'www.freecodecamp.org';
|
||||
}
|
||||
|
||||
export function getServerFullURL() {
|
||||
|
Reference in New Issue
Block a user