Make path relative
This commit is contained in:
parent
f1d98376d4
commit
1d55095691
@ -19,7 +19,7 @@ this is the base site
|
|||||||
document.getElementById("btn_register").onclick = function (e) {
|
document.getElementById("btn_register").onclick = function (e) {
|
||||||
let username = document.getElementById("username").value;
|
let username = document.getElementById("username").value;
|
||||||
|
|
||||||
window.location.replace(`/register/${encodeURIComponent(username)}`)
|
window.location.replace(`register/${encodeURIComponent(username)}`)
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user