Removed socket protocol for prod errors

This commit is contained in:
Glenn de Haan
2018-02-27 22:33:32 +01:00
parent c428f1f94a
commit b3fe3a5768

View File

@@ -24,7 +24,7 @@ export default class Socket {
* Start the socket connection
*/
init() {
this.socket = io.connect(`${expressConfig.protocol}://${expressConfig.hostname}`);
this.socket = io.connect(`//${expressConfig.hostname}`);
this.socket.on('connect', () => this.connect());
this.socket.on('disconnect', () => this.disconnect());