USERNAMES
This commit is contained in:
@@ -20,9 +20,9 @@ this is the base site
|
||||
<script>
|
||||
document.getElementById("btn_dunno").onclick = async function (e) {
|
||||
let text = document.getElementById("some_input").value;
|
||||
let data = {"sessionid": text};
|
||||
let data = {"username": text};
|
||||
|
||||
await fetch('api/join_session', {
|
||||
await fetch('/newclient', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(data),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user