auto push
This commit is contained in:
parent
080987cc31
commit
a83842ae9d
@ -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")}`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user