Include time param in tweet url, so image preview is re-fetched
This commit is contained in:
parent
ede0c0b397
commit
90888a2cc6
|
@ -337,7 +337,9 @@ const getTweetText = (contract: Contract, isCreator: boolean) => {
|
|||
contract
|
||||
)} chance, place your bets here:`
|
||||
: `Submit your own answer:`
|
||||
const url = `https://manifold.markets${contractPath(contract)}`
|
||||
|
||||
const timeParam = `${Date.now()}`.substring(7)
|
||||
const url = `https://manifold.markets${contractPath(contract)}?t=${timeParam}`
|
||||
|
||||
return `${tweetQuestion}\n\n${tweetDescription}\n\n${url}`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user