You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One line in the websocket.js file still uses a hardcoded server location; localhost. This gave some problems when running the servers on separate machines. I think it is nice to allow one to set this URL from an environment variable. Now, when reading a url from the environment variable, typically it is lead by http://. This needs to be replaced by ws://.
I'll update this in a PR. 😉
The text was updated successfully, but these errors were encountered:
Realtime-Pub-Quiz/quizzer/src/websocket.js
Line 15 in a0a0a89
One line in the
websocket.js
file still uses a hardcoded server location;localhost
. This gave some problems when running the servers on separate machines. I think it is nice to allow one to set this URL from an environment variable. Now, when reading a url from the environment variable, typically it is lead byhttp://
. This needs to be replaced byws://
.I'll update this in a PR. 😉
The text was updated successfully, but these errors were encountered: