diff --git a/static/urlgen.js b/static/urlgen.js index 526b45a..7a338ab 100644 --- a/static/urlgen.js +++ b/static/urlgen.js @@ -6,7 +6,7 @@ setTimeout(function() { var value = encodeURIComponent(inputEl.value.replace(/^#/, "")); preEl.innerText = value ? - "https://relay.fedi.buzz/" + id + "/" + value : + "https://" + document.location.host + "/" + id + "/" + value : ""; }, 10); }