16 lines
323 B
TypeScript
16 lines
323 B
TypeScript
import { type GetServerSideProps } from "next";
|
|
|
|
// eslint-disable-next-line @typescript-eslint/require-await
|
|
export const getServerSideProps: GetServerSideProps = async () => {
|
|
return {
|
|
redirect: {
|
|
destination: "/home",
|
|
permanent: false,
|
|
},
|
|
};
|
|
};
|
|
|
|
export default function Home() {
|
|
return null;
|
|
}
|