increased delay
This commit is contained in:
@ -5,6 +5,7 @@ export const axiosInstance = axios.create();
|
||||
axiosInstance.interceptors.request.use(
|
||||
(config) => {
|
||||
const token = localStorage.getItem('userToken');
|
||||
|
||||
config.headers['Content-Type'] = 'application/json';
|
||||
config.headers['Authorization'] = token ? `Bearer ${token}` : '';
|
||||
return config;
|
||||
|
Reference in New Issue
Block a user