diff --git a/seed/challenges/object-oriented-and-functional-programming.json b/seed/challenges/object-oriented-and-functional-programming.json index d298fbed11..f908201a65 100644 --- a/seed/challenges/object-oriented-and-functional-programming.json +++ b/seed/challenges/object-oriented-and-functional-programming.json @@ -13,7 +13,7 @@ "challenges": [ { "id":"cf1111c1c15feddfaeb1bdef", - "title": "Declaring JavaScript Objects as Variables", + "title": "Declare JavaScript Objects as Variables", "difficulty":0, "description":[ "Before we dive into Object Oriented Programming, let's revisit JavaScript objects.", @@ -50,7 +50,7 @@ }, { "id":"cf1111c1c15feddfaeb2bdef", - "title": "Constructing JavaScript Objects with Functions", + "title": "Construct JavaScript Objects with Functions", "difficulty":0, "description":[ "We are also able to create objects using constructor functions.", @@ -88,7 +88,7 @@ }, { "id":"cf1111c1c15feddfaeb3bdef", - "title":"Understanding Public and Private Properties", + "title":"Make Object Properties Private", "difficulty":0, "description":[ "Objects have their own attributes, called properties, and their own functions, called methods.", @@ -138,7 +138,7 @@ }, { "id":"cf1111c1c15feddfaeb4bdef", - "title":"Create Instances of Objects from a Constructor Function", + "title":"Duplicate Instances of Objects from a Constructor Function", "difficulty":0, "description":[ "Sometimes you'll want to be able to easily create similar objects.", diff --git a/server/boot/a-extendUser.js b/server/boot/a-extendUser.js index abeefcf728..e93f741250 100644 --- a/server/boot/a-extendUser.js +++ b/server/boot/a-extendUser.js @@ -72,7 +72,7 @@ module.exports = function(app) { 'Feel free to email us at this address if you have ', 'any questions about Free Code Camp.\n', 'And if you have a moment, check out our blog: ', - 'blog.freecodecamp.com.\n', + 'blog.freecodecamp.com.\n\n', 'Good luck with the challenges!\n\n', '- the Free Code Camp Volunteer Team' ].join('') @@ -85,7 +85,7 @@ module.exports = function(app) { if (err) { return next(err); } ctx.req.flash('success', { - msg: [ 'thanks for joining freecodecamp!' ] + msg: [ "Welcome to Free Code Camp! We've created your account." ] }); ctx.res.redirect('/'); }); diff --git a/server/middlewares/csp.js b/server/middlewares/csp.js index 8354ce1df9..74914f56b2 100644 --- a/server/middlewares/csp.js +++ b/server/middlewares/csp.js @@ -6,6 +6,7 @@ const trusted = [ '104.236.218.15', '*.freecodecamp.com', 'http://www.freecodecamp.com', + 'http://freecodecamp.com', 'https://www.freecodecamp.com', 'https://freecodecamp.com', 'https://freecodecamp.org',