quickfix for client socket connection
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user