From 83c2b15b15fa1805a7471328f537304adea06349 Mon Sep 17 00:00:00 2001 From: davidramiro Date: Tue, 5 Nov 2024 22:04:01 +0100 Subject: [PATCH] chore: reduce thumbnail resolution --- internal/adapter/twitch/twitch.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/adapter/twitch/twitch.go b/internal/adapter/twitch/twitch.go index 3299177..9840538 100644 --- a/internal/adapter/twitch/twitch.go +++ b/internal/adapter/twitch/twitch.go @@ -48,8 +48,8 @@ type authToken struct { } func formatTwitchPhotoUrl(url string) string { - url = strings.Replace(url, heightPlaceholder, "1080", 1) - return strings.Replace(url, widthPlaceholder, "1920", 1) + url = strings.Replace(url, heightPlaceholder, "720", 1) + return strings.Replace(url, widthPlaceholder, "1280", 1) } func (s *StreamInfoProvider) GetStreamInfos(ctx context.Context,