1
0
Fork 0

moved redirect loginc to src/pages/index.tsx

This commit is contained in:
Kim, Jimin 2022-02-21 12:01:54 +09:00
parent 63d6046e2d
commit 57a5dfe949
2 changed files with 7 additions and 8 deletions

6
src/pages/index.tsx Normal file
View file

@ -0,0 +1,6 @@
import React from 'react';
import { Redirect } from 'react-router-dom';
export default function Home() {
return <Redirect to="/docs/overview" />;
}

View file

@ -2,14 +2,7 @@
<html lang="en-US"> <html lang="en-US">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="refresh" content="0; url=docs/overview" />
<script type="text/javascript">
window.location.href = 'docs/overview';
</script>
</head> </head>
<body> <body></body>
If you are not redirected automatically, follow this
<a href="docs/overview">link</a>.
</body>
</html> </html>