move app to app/ subdir
This commit is contained in:
15
app/src/pages/index.tsx
Normal file
15
app/src/pages/index.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { type GetServerSideProps } from "next";
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/require-await
|
||||
export const getServerSideProps: GetServerSideProps = async () => {
|
||||
return {
|
||||
redirect: {
|
||||
destination: "/experiments",
|
||||
permanent: false,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
export default function Home() {
|
||||
return null;
|
||||
}
|
||||
Reference in New Issue
Block a user