Files
calendar/apps/web/pages/router/embed.tsx
T

7 lines
438 B
TypeScript

import { getServerSideProps as _getServerSideProps } from "../../server/lib/router/getServerSideProps";
export { default } from "./index";
// We are not using withEmbedSsr here because _getServerSideProps already has the logic to append /embed to the redirect URL and it ends up as /embed/embed
// TODO: We should use withEmbedSsr here and remove the logic from _getServerSideProps
export const getServerSideProps = _getServerSideProps;