diff --git a/index.html b/index.html index 83789e2..274e364 100644 --- a/index.html +++ b/index.html @@ -73,7 +73,7 @@
-
- 2 Chainz
+

@@ -250,6 +250,12 @@ "tweet" ).href = `https://twitter.com/intent/tweet?text=${tweet}`; }); + + fetch("https://api.chainz.rest/alias", { method: "GET" }) + .then((resp) => resp.json()) + .then(function (data) { + document.getElementById("alias").innerHTML = "- " + data.alias; + }); }