0
0
mirror of https://github.com/makeplane/plane synced 2024-06-14 14:31:34 +00:00
plane/apps/app/pages/index.tsx
Aaryan Khandelwal 21e042c852
feat: sentry integrated ()
* 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;