Skip to content

Commit

Permalink
update path to api
Browse files Browse the repository at this point in the history
  • Loading branch information
zoreet committed Jun 2, 2021
1 parent a72e01c commit 6629156
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Day.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default {
return
}
axios
.get('https://api.zoreet.com/days/' + this.dayId, {
.get('/api/days/' + this.dayId, {
headers: { Authorization: 'Bearer ' + this.token },
})
.then(response => {
Expand Down Expand Up @@ -241,7 +241,7 @@ export default {
axios
.post(
'https://api.zoreet.com/days/' + this.dayId,
'/api/days/' + this.dayId,
{ tasks: JSON.stringify(this.tasks) },
{ headers: { Authorization: 'Bearer ' + this.token } }
)
Expand Down
2 changes: 1 addition & 1 deletion src/views/Report.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export default {
}
axios
.get(
'https://api.zoreet.com/reports/' +
'/api/reports/' +
this.startDate +
'/' +
this.endDate,
Expand Down

0 comments on commit 6629156

Please sign in to comment.