Converted server to Typescript
This commit is contained in:
1 parent
1149f17b20
commit
cc6a474a88
29 files changed
+655
-1830
No files matched your search
@@ -1,7 +1,8 @@
|
||||
import { ToastProgrammatic as Toast } from 'buefy'
|
||||
|
||||
// const connection = new WebSocket('ws://localhost:3000/socket')
|
||||
const connection = new WebSocket('wss://tronio.gltronic.ovh/socket')
|
||||
const server = process.env.SERVER || 'localhost:3000'
|
||||
const connection = new WebSocket('ws://' + server + '/socket')
|
||||
// const connection = new WebSocket('wss://tronio.gltronic.ovh/socket')
|
||||
|
||||
export default function createSocketPlugin () {
|
||||
return store => {
|
||||
|
||||
Reference in new issue
Block a user