diff --git a/src/components/admin/ContentRenderer.tsx b/src/components/admin/ContentRenderer.tsx index 4fdd5ef25..87a0b713d 100644 --- a/src/components/admin/ContentRenderer.tsx +++ b/src/components/admin/ContentRenderer.tsx @@ -27,30 +27,30 @@ export const getMetadata = async (contentId: number) => { // }, // }); //@ts-ignore - if (metadata.migration_status === 'MIGRATED') { - return { - //@ts-ignore - 1080: metadata[`migrated_video_1080p_mp4_1`].replace( - '100x.b-cdn.net', - 'cdn.100xdevs.com', - ), - //@ts-ignore - 720: metadata[`migrated_video_720p_mp4_1`].replace( - '100x.b-cdn.net', - 'cdn.100xdevs.com', - ), - //@ts-ignore - 360: metadata[`migrated_video_360p_mp4_1`].replace( - '100x.b-cdn.net', - 'cdn.100xdevs.com', - ), - subtitles: metadata['subtitles'], - //@ts-ignore - slides: metadata['slides'], - //@ts-ignore - segments: metadata['segments'], - }; - } + // if (metadata.migration_status === 'MIGRATED') { + // return { + // //@ts-ignore + // 1080: metadata[`migrated_video_1080p_mp4_1`].replace( + // '100x.b-cdn.net', + // 'cdn.100xdevs.com', + // ), + // //@ts-ignore + // 720: metadata[`migrated_video_720p_mp4_1`].replace( + // '100x.b-cdn.net', + // 'cdn.100xdevs.com', + // ), + // //@ts-ignore + // 360: metadata[`migrated_video_360p_mp4_1`].replace( + // '100x.b-cdn.net', + // 'cdn.100xdevs.com', + // ), + // subtitles: metadata['subtitles'], + // //@ts-ignore + // slides: metadata['slides'], + // //@ts-ignore + // segments: metadata['segments'], + // }; + // } return { //@ts-ignore 1080: metadata[`video_1080p_mp4_${userId}`],