mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-03-31 06:24:00 -04:00
Removed socket protocol for prod errors
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user