diff --git a/common/app/routes/Jobs/components/NewJob.jsx b/common/app/routes/Jobs/components/NewJob.jsx index 4f19e170fc..3da9ca8f3b 100644 --- a/common/app/routes/Jobs/components/NewJob.jsx +++ b/common/app/routes/Jobs/components/NewJob.jsx @@ -84,7 +84,7 @@ function formatValue(value, validator, type = 'string') { } function isValidURL(data) { - return isURL(data, { 'require_protocol': false }); + return isURL(data, { 'require_protocol': true }); } function makeRequired(validator) { @@ -100,7 +100,7 @@ export default contain({ locale, description, email, - url, + url = 'http://', logo, company, isHighlighted, diff --git a/common/app/routes/Jobs/components/ShowJob.jsx b/common/app/routes/Jobs/components/ShowJob.jsx index 497b06a5f5..0f2b3a0a0e 100644 --- a/common/app/routes/Jobs/components/ShowJob.jsx +++ b/common/app/routes/Jobs/components/ShowJob.jsx @@ -2,8 +2,7 @@ import React, { PropTypes } from 'react'; import { Row, Col, Thumbnail, Panel } from 'react-bootstrap'; const defaultImage = - 'https://pbs.twimg.com/' + - 'profile_images/562385977390272512/AK29YaTf_400x400.png'; + 'https://s3.amazonaws.com/freecodecamp/camper-image-placeholder.png'; const thumbnailStyle = { backgroundColor: 'white',