Skip to content

Commit 9b5acd0

Browse files
committed
fix(Twitter): Use correct embed link
1 parent 5e01220 commit 9b5acd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/twitter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const shouldTransform = string => {
88
};
99

1010
export const getHTML = string =>
11-
fetch(`https://publish.twitter.com/oembed?url=${string}c&omit_script=true`)
11+
fetch(`https://publish.twitter.com/oembed?url=${string}&omit_script=true`)
1212
.then(r => r.json())
1313
.then(r =>
1414
[r.html]

0 commit comments

Comments
 (0)