fix Michel typo, update app's

latest small changes
This commit is contained in:
Xevion
2020-08-10 04:52:58 -05:00
parent 7e98c55d9c
commit 6179c210c2
6 changed files with 164 additions and 167 deletions

View File

@@ -30,7 +30,7 @@ export default {
},
methods: {
getStats() {
const path = 'http://localhost:5000/api/stats/';
const path = `http://${process.env.VUE_APP_HOST}:${process.env.VUE_APP_FLASK_PORT}/api/stats/`;
axios.get(path)
.then((res) => {
this.stats = res.data;