mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 06:10:22 +00:00
16 lines
321 B
TypeScript
16 lines
321 B
TypeScript
import { GetServerSideProps, NextPage } from 'next'
|
|
|
|
const Docs: NextPage = () => {
|
|
return <></>
|
|
}
|
|
|
|
export const getServerSideProps: GetServerSideProps = async (ctx) => {
|
|
ctx.res.statusCode = 301
|
|
ctx.res.setHeader('Location', encodeURI('/developers/docs/시작하기'))
|
|
return {
|
|
props: {}
|
|
}
|
|
}
|
|
|
|
export default Docs
|