aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-10-11 05:50:24 +0300
committerGravatar Vitaly Takmazov2022-10-11 05:50:24 +0300
commitc46f0a2cdaf88350776403d934753edda51e3506 (patch)
tree18e7b7baddea5871f3b164b1e87966b00eecab00
parent3978736682d8263088816f99efda53c81af68912 (diff)
Load twitter embeds from beta site
-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 52ea39aa..1b737a15 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://juick.com/srv/oembed?url=' + reResult[0])
+ fetch('https://beta.juick.com/srv/oembed?url=' + reResult[0])
.then(response => response.json())
.then(json => {
div.innerHTML = json.html;