update csp
This commit is contained in:
@ -13,7 +13,7 @@
|
|||||||
"challenges": [
|
"challenges": [
|
||||||
{
|
{
|
||||||
"id":"cf1111c1c15feddfaeb1bdef",
|
"id":"cf1111c1c15feddfaeb1bdef",
|
||||||
"title": "Declaring JavaScript Objects as Variables",
|
"title": "Declare JavaScript Objects as Variables",
|
||||||
"difficulty":0,
|
"difficulty":0,
|
||||||
"description":[
|
"description":[
|
||||||
"Before we dive into Object Oriented Programming, let's revisit JavaScript objects.",
|
"Before we dive into Object Oriented Programming, let's revisit JavaScript objects.",
|
||||||
@ -50,7 +50,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":"cf1111c1c15feddfaeb2bdef",
|
"id":"cf1111c1c15feddfaeb2bdef",
|
||||||
"title": "Constructing JavaScript Objects with Functions",
|
"title": "Construct JavaScript Objects with Functions",
|
||||||
"difficulty":0,
|
"difficulty":0,
|
||||||
"description":[
|
"description":[
|
||||||
"We are also able to create objects using <code>constructor</code> functions.",
|
"We are also able to create objects using <code>constructor</code> functions.",
|
||||||
@ -88,7 +88,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":"cf1111c1c15feddfaeb3bdef",
|
"id":"cf1111c1c15feddfaeb3bdef",
|
||||||
"title":"Understanding Public and Private Properties",
|
"title":"Make Object Properties Private",
|
||||||
"difficulty":0,
|
"difficulty":0,
|
||||||
"description":[
|
"description":[
|
||||||
"Objects have their own attributes, called <code>properties</code>, and their own functions, called <code>methods</code>.",
|
"Objects have their own attributes, called <code>properties</code>, and their own functions, called <code>methods</code>.",
|
||||||
@ -138,7 +138,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id":"cf1111c1c15feddfaeb4bdef",
|
"id":"cf1111c1c15feddfaeb4bdef",
|
||||||
"title":"Create Instances of Objects from a Constructor Function",
|
"title":"Duplicate Instances of Objects from a Constructor Function",
|
||||||
"difficulty":0,
|
"difficulty":0,
|
||||||
"description":[
|
"description":[
|
||||||
"Sometimes you'll want to be able to easily create similar objects.",
|
"Sometimes you'll want to be able to easily create similar objects.",
|
||||||
|
@ -72,7 +72,7 @@ module.exports = function(app) {
|
|||||||
'Feel free to email us at this address if you have ',
|
'Feel free to email us at this address if you have ',
|
||||||
'any questions about Free Code Camp.\n',
|
'any questions about Free Code Camp.\n',
|
||||||
'And if you have a moment, check out our blog: ',
|
'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',
|
'Good luck with the challenges!\n\n',
|
||||||
'- the Free Code Camp Volunteer Team'
|
'- the Free Code Camp Volunteer Team'
|
||||||
].join('')
|
].join('')
|
||||||
@ -85,7 +85,7 @@ module.exports = function(app) {
|
|||||||
if (err) { return next(err); }
|
if (err) { return next(err); }
|
||||||
|
|
||||||
ctx.req.flash('success', {
|
ctx.req.flash('success', {
|
||||||
msg: [ 'thanks for joining freecodecamp!' ]
|
msg: [ "Welcome to Free Code Camp! We've created your account." ]
|
||||||
});
|
});
|
||||||
ctx.res.redirect('/');
|
ctx.res.redirect('/');
|
||||||
});
|
});
|
||||||
|
@ -6,6 +6,7 @@ const trusted = [
|
|||||||
'104.236.218.15',
|
'104.236.218.15',
|
||||||
'*.freecodecamp.com',
|
'*.freecodecamp.com',
|
||||||
'http://www.freecodecamp.com',
|
'http://www.freecodecamp.com',
|
||||||
|
'http://freecodecamp.com',
|
||||||
'https://www.freecodecamp.com',
|
'https://www.freecodecamp.com',
|
||||||
'https://freecodecamp.com',
|
'https://freecodecamp.com',
|
||||||
'https://freecodecamp.org',
|
'https://freecodecamp.org',
|
||||||
|
Reference in New Issue
Block a user