parametric production endpoint

This commit is contained in:
Alberto Xamin 2020-11-24 09:27:55 +01:00
parent a8eb72c739
commit d65d677fd5
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ export default {
openLobbies: [],
lobbyName: '',
isInLobby: false,
onlinePlayers: 1,
onlinePlayers: 0,
}),
computed: {
noLobbyAvailable() {

View File

@ -4,8 +4,8 @@ import App from './App.vue'
Vue.config.productionTip = false
import VueSocketIO from 'vue-socket.io'
Vue.use(new VueSocketIO({
debug: true,
connection: Vue.config.devtools?'http://localhost:5001':'https://bang.xamin.it/backend',
debug: Vue.config.devtools,
connection: Vue.config.devtools?'http://localhost:5001':process.env.BACKEND,
}))
new Vue({