diff options
author | Vitaly Takmazov | 2022-10-30 01:32:45 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-10-30 01:32:45 +0300 |
commit | f3d25fbfaf35d874172e98d5bb813c5d50afa298 (patch) | |
tree | 26bec113f3e95c8fbff7fc4dfd52aa0f274ce5db /src | |
parent | a70c4e99596c3bd646afd5254b1777ee7fc05b4c (diff) |
Fix oembed URL
Diffstat (limited to 'src')
-rw-r--r-- | src/main/assets/embed.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |