Remove content-type as it causes the failure of formdata pass
This commit is contained in:
parent
1abbb121c0
commit
ee71097034
@ -2,10 +2,7 @@ import axios from 'axios'
|
|||||||
import { jwtDecode } from 'jwt-decode'
|
import { jwtDecode } from 'jwt-decode'
|
||||||
|
|
||||||
const backendAxios = axios.create({
|
const backendAxios = axios.create({
|
||||||
baseURL: '',
|
baseURL: ''
|
||||||
headers: {
|
|
||||||
'Content-Type': 'application/json'
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// Function to check if the token has expired
|
// Function to check if the token has expired
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user