From 7ae86ca083f4d45fa470f35a0a0d756bc1366b8a Mon Sep 17 00:00:00 2001
From: Krish Moodbidri <krish94@uab.edu>
Date: Fri, 27 Aug 2021 11:08:43 -0500
Subject: [PATCH] removed hard-coded value

---
 app/templates/auth/SignUp.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/templates/auth/SignUp.html b/app/templates/auth/SignUp.html
index 7c450cb..bf35e19 100644
--- a/app/templates/auth/SignUp.html
+++ b/app/templates/auth/SignUp.html
@@ -8,7 +8,7 @@
 
 <script>
     console.info('Room ID: {{ room_id }}');
-    var socket = io.connect('http://' + document.domain + ':' + location.port);
+    var socket = io.connect();
 
     socket.on( 'connect', function() {
         autofill_form("{{ username }}", "{{ fullname }}", "{{ email }}");
-- 
GitLab