update csp

pull/1789/head
Quincy Larson 2015-08-16 08:03:34 -07:00
parent d14514f661
commit b05d9338f4
3 changed files with 7 additions and 6 deletions

View File

@ -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 <code>constructor</code> 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 <code>properties</code>, and their own functions, called <code>methods</code>.",
@ -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.",

View File

@ -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('/');
});

View File

@ -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',