This commit is contained in:
2026-05-29 18:09:29 +01:00
parent 9d5d4c31d4
commit 414e416ce2
4 changed files with 3 additions and 2 deletions
+1
View File
@@ -1,3 +1,4 @@
/target /target
hiscores.json hiscores.json
loscores.json loscores.json
pingscores.json
Binary file not shown.
+1 -1
View File
@@ -39,7 +39,7 @@
const regex = new RegExp("^[a-zA-Z0-9_-]+$"); const regex = new RegExp("^[a-zA-Z0-9_-]+$");
let name = validate_data(prompt("Nickname for the leaderboard")); let name = validate_data(prompt("Nickname for the leaderboard"));
console.log(name) console.log(name)
const ws = new WebSocket('ws://localhost:8084/ws'); const ws = new WebSocket('ws://deadvey.com:8084/ws');
ws.onopen = (event) => { ws.onopen = (event) => {
ws.send(name); ws.send(name);
}; };
+1 -1
View File
@@ -20,7 +20,7 @@
} }
</style> </style>
<script> <script>
const ws = new WebSocket('ws://localhost:8084/ws'); const ws = new WebSocket('ws://deadvey.com:8084/ws');
const regex = new RegExp("^[a-zA-Z0-9_-]+$"); const regex = new RegExp("^[a-zA-Z0-9_-]+$");
ws.onopen = (event) => { ws.onopen = (event) => {
ws.send(""); ws.send("");