API_URL env

This commit is contained in:
Artur Nowakowski 2019-12-05 15:42:51 +01:00
parent 76b10be898
commit 8ba0d1e6d3
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ export default {
}
},
axios:{
baseURL:"https://clearbowl-api.herokuapp.com/api"
//baseURL:"https://clearbowl-api.herokuapp.com/api"
baseURL: process.env.API_URL || "http://localhost:8000/api"
}