Skip to content

Commit

Permalink
Adding 404.js to catch 404s on website
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjohnston4 committed Jul 28, 2015
1 parent 757d6d2 commit 3794445
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions website/src/react-native/404.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

var React = require('React');

var four_oh_four = React.createClass({
render: function() {
return (
<html>
<head>
<meta httpEquiv="refresh" content="0; /react-native/docs/getting-started.html" />
</head>
<body></body>
</html>
);
}
});

module.exports = four_oh_four;

0 comments on commit 3794445

Please sign in to comment.