diff --git a/apps/web/lib/video/[uid]/getServerSideProps.ts b/apps/web/lib/video/[uid]/getServerSideProps.ts index 136f5f2155..aa75fb5490 100644 --- a/apps/web/lib/video/[uid]/getServerSideProps.ts +++ b/apps/web/lib/video/[uid]/getServerSideProps.ts @@ -72,7 +72,11 @@ export async function getServerSideProps(context: GetServerSidePropsContext) { //find out if the meeting is in the past const isPast = booking?.endTime <= exitDate; - if (isPast) { + const testingUid = + CAL_VIDEO_MEETING_LINK_FOR_TESTING && CAL_VIDEO_MEETING_LINK_FOR_TESTING?.split("/").pop(); + const isTestingLink = booking?.uid === testingUid; + + if (isPast && !isTestingLink) { return { redirect: { destination: `/video/meeting-ended/${booking?.uid}`,