Adding 404.js to catch 404s on website

This commit is contained in:
Matthew Johnston 2015-07-28 14:22:13 +01:00
Родитель 757d6d204a
Коммит 379444515b
1 изменённых файлов: 25 добавлений и 0 удалений

25
website/src/react-native/404.js поставляемый 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;