moved redirect loginc to src/pages/index.tsx
This commit is contained in:
parent
63d6046e2d
commit
57a5dfe949
2 changed files with 7 additions and 8 deletions
6
src/pages/index.tsx
Normal file
6
src/pages/index.tsx
Normal file
|
@ -0,0 +1,6 @@
|
|||
import React from 'react';
|
||||
import { Redirect } from 'react-router-dom';
|
||||
|
||||
export default function Home() {
|
||||
return <Redirect to="/docs/overview" />;
|
||||
}
|
|
@ -2,14 +2,7 @@
|
|||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="refresh" content="0; url=docs/overview" />
|
||||
<script type="text/javascript">
|
||||
window.location.href = 'docs/overview';
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
If you are not redirected automatically, follow this
|
||||
<a href="docs/overview">link</a>.
|
||||
</body>
|
||||
<body></body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue