From c1a093cb45596c2aa07f1a7b15f62fefdb5d45fd Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 29 Jan 2021 14:20:49 +0100 Subject: [PATCH] quickfix for client socket connection --- client/src/store/socketPlugin.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/store/socketPlugin.js b/client/src/store/socketPlugin.js index e527a92..1ecf5bb 100644 --- a/client/src/store/socketPlugin.js +++ b/client/src/store/socketPlugin.js @@ -1,8 +1,7 @@ import { ToastProgrammatic as Toast } from 'buefy' -let connection -if (process.env.SERVER) connection = new WebSocket('wss://' + process.env.SERVER + '/socket') -else connection = new WebSocket('ws://localhost:3000/socket') +const connection = new WebSocket('wss://tronio.gltronic.ovh/socket') +//const connection = new WebSocket('ws://localhost:3000/socket') export default function createSocketPlugin () { return store => {