aboutsummaryrefslogtreecommitdiff
path: root/src/main/assets
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-10-30 01:32:45 +0300
committerGravatar Vitaly Takmazov2022-10-30 01:32:45 +0300
commitf3d25fbfaf35d874172e98d5bb813c5d50afa298 (patch)
tree26bec113f3e95c8fbff7fc4dfd52aa0f274ce5db /src/main/assets
parenta70c4e99596c3bd646afd5254b1777ee7fc05b4c (diff)
Fix oembed URL
Diffstat (limited to 'src/main/assets')
-rw-r--r--src/main/assets/embed.js2
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;