plane/apps/app/pages/index.tsx
Aaryan Khandelwal 21e042c852
feat: sentry integrated (#235)
* feat: sentry integrated

* fix: removed unnecessary env variable
2023-02-07 01:07:01 +05:30

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;