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 => {