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