mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
21e042c852
* feat: sentry integrated * fix: removed unnecessary env variable
14 lines
319 B
TypeScript
14 lines
319 B
TypeScript
// lib
|
|
import { homePageRedirect } from "lib/auth";
|
|
// types
|
|
import type { NextPage, NextPageContext } from "next";
|
|
|
|
const Home: NextPage = () => null;
|
|
|
|
export const getServerSideProps = (ctx: NextPageContext) => {
|
|
const cookies = ctx.req?.headers.cookie;
|
|
return homePageRedirect(cookies);
|
|
};
|
|
|
|
export default Home;
|