From 44fa12258588ab4a6047c0299f3f0ac5985f46f4 Mon Sep 17 00:00:00 2001 From: starnakin Date: Tue, 26 Dec 2023 14:35:45 +0100 Subject: [PATCH] clean: tournament: remove debug print --- frontend/static/js/api/tournament/tournament.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/static/js/api/tournament/tournament.js b/frontend/static/js/api/tournament/tournament.js index 63afdaa..c0d783e 100644 --- a/frontend/static/js/api/tournament/tournament.js +++ b/frontend/static/js/api/tournament/tournament.js @@ -77,11 +77,8 @@ class Tourmanent if (!await this.client.isAuthentificate()) return null; - console.log(window.location.protocol); let url = `${window.location.protocol[4] === 's' ? 'wss' : 'ws'}://${window.location.host}/ws/tournaments/${this.id}`; - console.log(url); - this._socket = new WebSocket(url); this.connected = true;