diff --git a/next.config.mjs b/next.config.mjs index 2702e68..b185604 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -26,6 +26,12 @@ const config = { port: '', pathname: '/**', }, + { + protocol: 'https', + hostname: '*.ytimg.com', + port: '', + pathname: '/**', + }, ], }, }; diff --git a/src/pages/videos.tsx b/src/pages/videos.tsx index 042c71a..0f7cb0b 100644 --- a/src/pages/videos.tsx +++ b/src/pages/videos.tsx @@ -160,7 +160,7 @@ const VideoCard = ({ title, id, createdAt }: VideoCardProps) => {