mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-04-05 08:54:17 -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
|
* Start the socket connection
|
||||||
*/
|
*/
|
||||||
init() {
|
init() {
|
||||||
this.socket = io.connect(`${expressConfig.protocol}://${expressConfig.hostname}`);
|
this.socket = io.connect(`//${expressConfig.hostname}`);
|
||||||
|
|
||||||
this.socket.on('connect', () => this.connect());
|
this.socket.on('connect', () => this.connect());
|
||||||
this.socket.on('disconnect', () => this.disconnect());
|
this.socket.on('disconnect', () => this.disconnect());
|
||||||
|
|||||||
Reference in New Issue
Block a user