diff --git a/.gitignore b/.gitignore index 11400c7..249cf2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target hiscores.json loscores.json +pingscores.json diff --git a/.leaderboard.html.swp b/.index.html.swp similarity index 72% rename from .leaderboard.html.swp rename to .index.html.swp index 84732c8..795095c 100644 Binary files a/.leaderboard.html.swp and b/.index.html.swp differ diff --git a/index.html b/index.html index fa68d21..00a2810 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,7 @@ const regex = new RegExp("^[a-zA-Z0-9_-]+$"); let name = validate_data(prompt("Nickname for the leaderboard")); console.log(name) - const ws = new WebSocket('ws://localhost:8084/ws'); + const ws = new WebSocket('ws://deadvey.com:8084/ws'); ws.onopen = (event) => { ws.send(name); }; diff --git a/leaderboard.html b/leaderboard.html index 2d1e40b..20cc8cc 100644 --- a/leaderboard.html +++ b/leaderboard.html @@ -20,7 +20,7 @@ }