mirror of
https://github.com/astro/buzzrelay.git
synced 2024-11-22 12:11:00 +00:00
static/urlgen: use dynamc hostname
This commit is contained in:
parent
610e3732c5
commit
f95cd5c97d
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
var value = encodeURIComponent(inputEl.value.replace(/^#/, ""));
|
var value = encodeURIComponent(inputEl.value.replace(/^#/, ""));
|
||||||
preEl.innerText = value ?
|
preEl.innerText = value ?
|
||||||
"https://relay.fedi.buzz/" + id + "/" + value :
|
"https://" + document.location.host + "/" + id + "/" + value :
|
||||||
"";
|
"";
|
||||||
}, 10);
|
}, 10);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue