From f3d25fbfaf35d874172e98d5bb813c5d50afa298 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 30 Oct 2022 01:32:45 +0300 Subject: Fix oembed URL --- src/main/assets/embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/assets/embed.js b/src/main/assets/embed.js index 1b737a15..0ef76bc2 100644 --- a/src/main/assets/embed.js +++ b/src/main/assets/embed.js @@ -268,7 +268,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/srv/oembed?url=' + reResult[0]) + fetch('https://beta.juick.com/api/oembed?url=' + reResult[0]) .then(response => response.json()) .then(json => { div.innerHTML = json.html; -- cgit v1.2.3