mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 10:30:55 +01:00
Backport fix for #474 from PR
This commit is contained in:
parent
675b4a14ab
commit
004d8b7b03
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ export const handleStatus = async (
|
|||
`<link rel="alternate" href="{base}/owoembed?text={text}{deprecatedFlag}&status={status}&author={author}" type="application/json+oembed" title="{name}">`.format(
|
||||
{
|
||||
base: Constants.HOST_URL,
|
||||
text: encodeURIComponent(truncateWithEllipsis(authorText, 256)),
|
||||
text: encodeURIComponent(truncateWithEllipsis(authorText, 255)),
|
||||
deprecatedFlag: flags?.deprecated ? '&deprecated=true' : '',
|
||||
status: encodeURIComponent(status),
|
||||
author: encodeURIComponent(tweet.author?.screen_name || ''),
|
||||
|
|
Loading…
Add table
Reference in a new issue