add an .env.example file and fix lint warnings

This commit is contained in:
RcleydsonR
2022-12-12 17:05:50 -03:00
parent dbfeb7017f
commit 5f753a62ca
6 changed files with 18 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ const defaultConfig = {
const api = axios.create({
...defaultConfig,
baseURL: import.meta.env.VITE_BASE_URL,
baseURL: import.meta.env.VITE_API_URL,
});
export default api;