refactor: Replace .com with .org

This commit is contained in:
Timo
2017-08-26 00:07:44 +02:00
parent cf436f34bc
commit dcfe18d5d5
40 changed files with 290 additions and 290 deletions

View File

@ -133,10 +133,10 @@ module.exports = function(User) {
var mailOptions = {
type: 'email',
to: user.email,
from: 'team@freecodecamp.com',
from: 'team@freecodecamp.org',
subject: 'Welcome to freeCodeCamp!',
protocol: isDev ? null : 'https',
host: isDev ? devHost : 'freecodecamp.com',
host: isDev ? devHost : 'freecodecamp.org',
port: isDev ? null : 443,
template: path.join(
__dirname,
@ -302,7 +302,7 @@ module.exports = function(User) {
url = `http://${host}:${port}/reset-password?access_token=${token}`;
} else {
url =
`http://freecodecamp.com/reset-password?access_token=${token}`;
`http://freecodecamp.org/reset-password?access_token=${token}`;
}
// the email of the requested user
@ -312,7 +312,7 @@ module.exports = function(User) {
// requires AccessToken.belongsTo(User)
var mailOptions = {
to: info.email,
from: 'Team@freecodecamp.com',
from: 'team@freecodecamp.org',
subject: 'Password Reset Request',
text: `
Hello,\n\n
@ -543,10 +543,10 @@ module.exports = function(User) {
const mailOptions = {
type: 'email',
to: email,
from: 'Team@freecodecamp.com',
from: 'team@freecodecamp.org',
subject: 'Welcome to freeCodeCamp!',
protocol: isDev ? null : 'https',
host: isDev ? devHost : 'freecodecamp.com',
host: isDev ? devHost : 'freecodecamp.org',
port: isDev ? null : 443,
template: path.join(
__dirname,