auto push

This commit is contained in:
kinou-p 2023-06-15 16:58:11 +02:00
parent 9bfab8f9b7
commit 1c5cfd949e
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
BASE_URL=http://localhost

View File

@ -15,6 +15,8 @@ console.log(`Bearer ${localStorage.getItem("token")}`)
const url = 'http://' + process.env.BASE_URL + '/api' const url = 'http://' + process.env.BASE_URL + '/api'
console.log("url= ", url) console.log("url= ", url)
console.log("env= ", process.env)
console.log("env= ", process.env.BASE_URL)
let api = axios.create({ let api = axios.create({
// baseURL: 'http://localhost/api', // baseURL: 'http://localhost/api',