mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 18:40:56 +01:00
Add standard theme-color now that color api ded
This commit is contained in:
parent
3ea9f96fef
commit
a1ee2c42f8
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ export const handleStatus = async (
|
||||||
const headers = [
|
const headers = [
|
||||||
`<link rel="canonical" href="${Constants.TWITTER_ROOT}/${tweet.author.screen_name}/status/${tweet.id}"/>`,
|
`<link rel="canonical" href="${Constants.TWITTER_ROOT}/${tweet.author.screen_name}/status/${tweet.id}"/>`,
|
||||||
`<meta property="og:url" content="${Constants.TWITTER_ROOT}/${tweet.author.screen_name}/status/${tweet.id}"/>`,
|
`<meta property="og:url" content="${Constants.TWITTER_ROOT}/${tweet.author.screen_name}/status/${tweet.id}"/>`,
|
||||||
`<meta property="theme-color" content="${tweet.color}"/>`,
|
`<meta property="theme-color" content="${tweet.color || '#00a8fc'}"/>`,
|
||||||
`<meta property="twitter:card" content="${
|
`<meta property="twitter:card" content="${
|
||||||
tweet.quote?.twitter_card || tweet.twitter_card
|
tweet.quote?.twitter_card || tweet.twitter_card
|
||||||
}"/>`,
|
}"/>`,
|
||||||
|
|
Loading…
Add table
Reference in a new issue