|
@@ -7,11 +7,11 @@ let config = {
|
|
|
|
|
|
const _axios = axios.create(config);
|
|
|
_axios.interceptors.request.use(
|
|
|
- /* function (config) {
|
|
|
+ function (config) {
|
|
|
|
|
|
- config.headers.Authorization=localStorage.getItem('token')||''
|
|
|
+ //config.headers.Authorization=localStorage.getItem('token')||''
|
|
|
return config;
|
|
|
- }, */
|
|
|
+ },
|
|
|
function (error) {
|
|
|
// Do something with request error
|
|
|
return Promise.reject(error);
|