import VodPage from '@/app/components/vod-page'; import { IVodPageProps, getVodFromSafeDateOrUUID } from '@/app/lib/vods'; import { notFound } from 'next/navigation'; /** * This route exists as backwards compatibility for Futureporn 0.0.0 which was on neocities * @see https://www.w3.org/Provider/Style/URI */ export default async function Page({ params: { safeDateOrUUID, slug } }: IVodPageProps) { const vod = await getVodFromSafeDateOrUUID(safeDateOrUUID); if (!vod) notFound(); return }