aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/utils/embed.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-07-02 08:55:19 +0300
committerGravatar Vitaly Takmazov2023-07-02 08:55:19 +0300
commit19c2e460e10d67e6f196192f019521b1f4533634 (patch)
treec62d901dd1394d369c557874e362349ef9063423 /vnext/src/utils/embed.js
parent0985ef25666be65b8dfbe719d896de5c5a7b1e33 (diff)
scripts: using new address for twitter embeds
Diffstat (limited to 'vnext/src/utils/embed.js')
-rw-r--r--vnext/src/utils/embed.js2
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