From d65d677fd5eda367c3ba6fbcb2dbe1b425234a14 Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Tue, 24 Nov 2020 09:27:55 +0100 Subject: [PATCH] parametric production endpoint --- frontend/src/App.vue | 2 +- frontend/src/main.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index b1b694d..a780857 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -57,7 +57,7 @@ export default { openLobbies: [], lobbyName: '', isInLobby: false, - onlinePlayers: 1, + onlinePlayers: 0, }), computed: { noLobbyAvailable() { diff --git a/frontend/src/main.js b/frontend/src/main.js index 04b08b9..2d6ac01 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -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({