mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Adding 404.js to catch 404s on website
This commit is contained in:
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 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;
|
||||
Reference in New Issue
Block a user