[API URL] Added api url to .env

This commit is contained in:
Matej Glasnák committed 2023-01-17 11:12:13 +01:00
1 parent 876a67604d
commit 032f045854
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ export default {
async created() {
try {
this.teams = await this.$axios.get_auth_data('http://127.0.0.1:8000/api/v1/teams')
this.teams = await this.$axios.get_auth_data('v1/teams')
} catch (error) {
this.teams = {error}
}