mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 20:44:10 +00:00
Merge pull request #2145 from facebook/404-fix
Adding 404.js to catch 404s on website
This commit is contained in:
commit
7fcd85cc53
25
website/src/react-native/404.js
vendored
Executable file
25
website/src/react-native/404.js
vendored
Executable 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;
|
Loading…
x
Reference in New Issue
Block a user