Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 404.js to catch 404s on website #2145

Merged
merged 2 commits into from
Jul 28, 2015
Merged

Adding 404.js to catch 404s on website #2145

merged 2 commits into from
Jul 28, 2015

Conversation

matthewjohnston4
Copy link
Contributor

404s on the website currently redirect to code.facebook.com because we have no root 404.html - this adds one that will be generated by the website script, that redirects all 404s to the root docs page.

@mkonicek
Copy link
Contributor

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 28, 2015

var React = require('React');

var four_oh_four = React.createClass({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In JS the convention is fourOhFour.

mkonicek added a commit that referenced this pull request Jul 28, 2015
Adding 404.js to catch 404s on website
@mkonicek mkonicek merged commit 7fcd85c into master Jul 28, 2015
@vjeux vjeux deleted the 404-fix branch October 14, 2015 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants