Skip to content

Commit

Permalink
chore: reduce thumbnail resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
davidramiro committed Nov 5, 2024
1 parent d91c451 commit 83c2b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/adapter/twitch/twitch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 83c2b15

Please sign in to comment.