mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-17 08:13:34 -06:00
fix Michel typo, update app's
latest small changes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user