Browse Source

copy paste error corrected

tristangurtler 3 years ago
parent
commit
1825dcc3d7
2 changed files with 2 additions and 1 deletions
  1. 1 0
      prsona/inc/networking.hpp
  2. 1 1
      prsona/src/clientMain.cpp

+ 1 - 0
prsona/inc/networking.hpp

@@ -21,6 +21,7 @@
 #define UPDATE_LOCK_URI "/lock"
 #define UPDATE_UNLOCK_URI "/unlock"
 
+#define ADD_USER_URI "/ws?a"
 #define GIVE_NEW_VOTE_URI "/ws?b"
 #define PUBLIC_BGN_URI "/ws?c"
 #define NUM_CLIENTS_URI "/ws?d"

+ 1 - 1
prsona/src/clientMain.cpp

@@ -212,7 +212,7 @@ void register_new_client(
             USE_SSL,
             NULL,
             0,
-            PUBLIC_BGN_URI,
+            ADD_USER_URI,
             "null",
             file_websocket_data_handler,
             file_websocket_close_handler,