Skip to content

Commit

Permalink
indeed
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikidepia committed Jul 4, 2024
1 parent a6ab9a9 commit 489dcf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/embed.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ func Embed() fiber.Handler {

descPool := bytebufferpool.Get()
defer bytebufferpool.Put(descPool)
fasthttp.AppendQuotedArg(descPool.B, utils.S2B(viewsData.Description))
viewsData.OEmbedURL = c.BaseURL() + "/oembed?text=" + utils.B2S(descPool.Bytes()) + "&url=" + viewsData.URL
dest := fasthttp.AppendQuotedArg(descPool.B, utils.S2B(viewsData.Description))
viewsData.OEmbedURL = c.BaseURL() + "/oembed?text=" + utils.B2S(dest) + "&url=" + viewsData.URL
}

if direct {
Expand Down

0 comments on commit 489dcf4

Please sign in to comment.