auto push
This commit is contained in:
parent
ad7016c465
commit
23c6011873
@ -13,6 +13,7 @@ console.log(`getToken = ${getToken()}`)
|
|||||||
console.log(`Bearer ${localStorage.getItem("token")}`)
|
console.log(`Bearer ${localStorage.getItem("token")}`)
|
||||||
|
|
||||||
let api = axios.create({
|
let api = axios.create({
|
||||||
|
// baseURL: 'http://localhost/api',
|
||||||
baseURL: 'http://localhost/api',
|
baseURL: 'http://localhost/api',
|
||||||
headers: {
|
headers: {
|
||||||
// Authorization: `Bearer ${getToken()}`,
|
// Authorization: `Bearer ${getToken()}`,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user