Merge pull request #2145 from facebook/404-fix
Adding 404.js to catch 404s on website
This commit is contained in:
commit
7fcd85cc53
|
@ -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;
|
Loading…
Reference in New Issue