aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/utils')
-rw-r--r--vnext/src/utils/embed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/utils/embed.js b/vnext/src/utils/embed.js
index fcef651d..9c10d6d8 100644
--- a/vnext/src/utils/embed.js
+++ b/vnext/src/utils/embed.js
@@ -275,7 +275,7 @@ function getEmbeddableLinkTypes() {
const twitter_url = reResult[0].startsWith(wrong_prefix) ?
reResult[0].replace(wrong_prefix, correct_prefix)
: reResult[0]
- fetch('https://x.juick.com/oembed?url=' + twitter_url)
+ fetch('/api/v2/oembed?url=' + twitter_url)
.then(response => response.json())
.then(json => {
div.innerHTML = json.html