Scheduling infrastructure for absolutely everyone.
chore: do not route to meeting-ended page for daily link used for testing (#20371)
Udit Takkarbc9d76e7dad1
diff --git a/apps/web/lib/video/[uid]/getServerSideProps.ts b/apps/web/lib/video/[uid]/getServerSideProps.tsindex 136f5f21553..aa75fb5490e 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 pastconst 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}`,