Merge pull request #2145 from facebook/404-fix

Adding 404.js to catch 404s on website
This commit is contained in:
Martin Konicek 2015-07-28 14:38:26 +01:00
commit 7fcd85cc53
1 changed files with 25 additions and 0 deletions

25
website/src/react-native/404.js vendored Executable file
View File

@ -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 fourOhFour = React.createClass({
render: function() {
return (
<html>
<head>
<meta httpEquiv="refresh" content="0; /react-native/docs/getting-started.html" />
</head>
<body></body>
</html>
);
}
});
module.exports = fourOhFour;