diff --git a/static/main.js b/static/main.js index 5610a90..570bd97 100644 --- a/static/main.js +++ b/static/main.js @@ -70,7 +70,7 @@ function forNow() { function fetchNApply(page) { try { loading = true; - fetch(`https://fxtwitter.com/api/latest/?tweets=10&page=${page}`) + fetch(`https://twxtter.com/api/latest/?tweets=10&page=${page}`) .then(response => response.json()) .then(data => { data.forEach(e => createTweet(e)); @@ -265,7 +265,7 @@ function createTweet(json) { const rts = createEl("div", "cont", { inner: `${json["rts"]} Retweets` }); const lks = createEl("div", "cont", { inner: `${json["likes"]} Likes` }); - const share = createEl("img", "share", { src: "https://fxtwitter.com/copy.svg" }); + const share = createEl("img", "share", { src: "https://twxtter.com/copy.svg" }); meta.appendChild(rts); meta.appendChild(lks); @@ -277,7 +277,7 @@ function createTweet(json) { imgPrev(img); }); share.addEventListener("click", () => - navigator.clipboard.writeText(json["tweet"].replace("https://t", "https://fxt")) + navigator.clipboard.writeText(json["tweet"].replace("https://twi", "https://twx")) ); tweetCount++; diff --git a/static/style.css b/static/style.css index 581659b..ef24ab8 100644 --- a/static/style.css +++ b/static/style.css @@ -1,7 +1,7 @@ @font-face { font-family: NotoColorEmojiLimited; unicode-range: U+1F1E6-1F1FF; - src: url("https://fxtwitter.com/font.ttf"); + src: url("https://twxtter.com/font.ttf"); } :root { diff --git a/templates/image.html b/templates/image.html index d75a01d..f83ca0c 100644 --- a/templates/image.html +++ b/templates/image.html @@ -1,13 +1,13 @@ {% extends 'base.html' %}