From 8725ffe0bba4fdf06958093895ce760fae138cd6 Mon Sep 17 00:00:00 2001 From: Vinicius Cavalcanti Date: Thu, 14 Mar 2024 14:38:15 -0300 Subject: [PATCH] chore: update axios base url to get from env --- src/services/axios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/axios.js b/src/services/axios.js index d025d5d..12be611 100644 --- a/src/services/axios.js +++ b/src/services/axios.js @@ -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