From 73d4f687bfe9d52cd602cfdec9743ea715e9dc95 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sat, 25 Apr 2020 16:16:15 -0400 Subject: [PATCH] public/debug.html: Get server from URL, not localhost Previously, the debug page contacted the localhost for websocket, every time. This breaks down if you want to use the debug page with a server that is NOT your localhost (i.e. euchre.live) Props to ~ckarle for finding out about window.location.host --- public/debug.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/debug.html b/public/debug.html index e0d93ea..98e24ca 100644 --- a/public/debug.html +++ b/public/debug.html @@ -12,7 +12,8 @@