Skip to content

Commit

Permalink
chore: update axios base url to get from env
Browse files Browse the repository at this point in the history
  • Loading branch information
hvini committed Mar 14, 2024
1 parent c5b40f5 commit 8725ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/axios.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import axios from 'axios'

axios.defaults.baseURL = process.env.NODE_ENV == 'production' ? 'https://web-eye-tracker-1204.herokuapp.com/' : 'http://localhost:5000'
axios.defaults.baseURL = process.env.VUE_APP_API_BASE_URL

0 comments on commit 8725ffe

Please sign in to comment.