Updated build config + Drone CI
This commit is contained in:
1 parent
cc6a474a88
commit
c66cc42118
17 files changed
+46
-286
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import { ToastProgrammatic as Toast } from 'buefy'
|
||||
|
||||
const server = process.env.SERVER || 'localhost:3000'
|
||||
const connection = new WebSocket('ws://' + server + '/socket')
|
||||
// const connection = new WebSocket('wss://tronio.gltronic.ovh/socket')
|
||||
let connection
|
||||
if (process.env.SERVER) connection = new WebSocket('wss://' + process.env.SERVER + '/socket')
|
||||
else connection = new WebSocket('ws://localhost:3000/socket')
|
||||
|
||||
export default function createSocketPlugin () {
|
||||
return store => {
|
||||
|
||||
Reference in new issue
Block a user