static/urlgen: use dynamc hostname
This commit is contained in:
parent
610e3732c5
commit
f95cd5c97d
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue