auto push

This commit is contained in:
kinou-p 2023-06-15 17:03:11 +02:00
parent 080987cc31
commit a83842ae9d

View File

@ -22,7 +22,7 @@ console.log("env= ", process.env.BASE_URL)
let api = axios.create({
// baseURL: 'http://localhost/api',
baseURL: 'http://' + process.env.BASE_URL + '/api',
baseURL: 'http://' + test + '/api',
headers: {
// Authorization: `Bearer ${getToken()}`,
Authorization : `Bearer ${localStorage.getItem("token")}`