From 19c2e460e10d67e6f196192f019521b1f4533634 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 2 Jul 2023 08:55:19 +0300 Subject: scripts: using new address for twitter embeds --- vnext/src/utils/embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext/src') 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 -- cgit v1.2.3