forked from github/plane
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;
|