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'
|
||||
|
||||
const backendAxios = axios.create({
|
||||
baseURL: '',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
baseURL: ''
|
||||
})
|
||||
|
||||
// Function to check if the token has expired
|
||||
|
||||
Loading…
Reference in New Issue
Block a user