From bf02583d93222f300908c664d1bd0f12c13d2662 Mon Sep 17 00:00:00 2001 From: MarconLP <13001502+MarconLP@users.noreply.github.com> Date: Wed, 12 Apr 2023 19:08:25 +0200 Subject: [PATCH] update dummy thumbnail url --- next.config.mjs | 6 ++++++ src/pages/videos.tsx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) => {