diff options
author | Vitaly Takmazov | 2023-07-02 08:55:19 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-07-02 08:55:19 +0300 |
commit | 19c2e460e10d67e6f196192f019521b1f4533634 (patch) | |
tree | c62d901dd1394d369c557874e362349ef9063423 /vnext/src/utils/embed.js | |
parent | 0985ef25666be65b8dfbe719d896de5c5a7b1e33 (diff) |
scripts: using new address for twitter embeds
Diffstat (limited to 'vnext/src/utils/embed.js')
-rw-r--r-- | vnext/src/utils/embed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/utils/embed.js b/vnext/src/utils/embed.js index 75985582..3020058a 100644 --- a/vnext/src/utils/embed.js +++ b/vnext/src/utils/embed.js @@ -270,7 +270,7 @@ function getEmbeddableLinkTypes() { className: 'twi compact', re: /^(?:https?:)?\/\/(?:www\.)?(?:mobile\.)?twitter\.com\/([\w-]+)\/status(?:es)?\/([\d]+)/i, makeNode: function(aNode, reResult, div) { - fetch('https://beta.juick.com/api/oembed?url=' + reResult[0]) + fetch('https://x.juick.com/oembed?url=' + reResult[0]) .then(response => response.json()) .then(json => { div.innerHTML = json.html |