fix again

This commit is contained in:
Niko Storni 2022-05-18 16:03:57 +02:00
parent d2691fe363
commit 5932cf9a2c

View file

@ -122,7 +122,7 @@ func view(c *gin.Context) {
} }
resizeParams := "" resizeParams := ""
redirectBaseURL := "https://thumbnails.odycdn.com/optimize/plain/https://player.odycdn.com/speech/" redirectBaseURL := "https://source.thumbnails.odycdn.com/optimize/plain/https://player.odycdn.com/speech/"
if height != "" && width != "" { if height != "" && width != "" {
redirectBaseURL = "" redirectBaseURL = ""
//resizeParams = fmt.Sprintf("&height=%s&width=%s&quality=80", height, width) //resizeParams = fmt.Sprintf("&height=%s&width=%s&quality=80", height, width)