diff --git a/handlers/embed.go b/handlers/embed.go index 67da4f4..fa726bc 100644 --- a/handlers/embed.go +++ b/handlers/embed.go @@ -136,7 +136,7 @@ func Embed() fiber.Handler { sb.WriteString("/") sb.WriteString(strconv.Itoa(max(1, mediaNum))) viewsData.VideoURL = sb.String() - viewsData.OEmbedURL = c.BaseURL() + "/oembed?text=" + url.QueryEscape(viewsData.Description) + "&url=" + url.QueryEscape(viewsData.URL) + viewsData.OEmbedURL = c.BaseURL() + "/oembed?text=" + url.QueryEscape(viewsData.Description) + "&url=" + viewsData.URL } if direct {