Remove content-type as it causes the failure of formdata pass

This commit is contained in:
jetli 2024-09-09 16:57:58 -07:00
parent 1abbb121c0
commit ee71097034

View File

@ -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