dashboard #2

Merged
v4l3n71n merged 46 commits from dashboard into master 2022-08-25 21:40:00 +00:00
Showing only changes of commit 59153ded4c - Show all commits

View File

@ -1,6 +1,14 @@
checkToken();
const requestInterceptors = axios.interceptors.request.use(function(){
axios.interceptors.request.use(function (config) {
checkToken();
});
return config;
}, function (error) {
// Do something with request error
return Promise.reject(error);
});
instance.get("users/count", { withCredentials: true }).then(function(response){
console.log(response.data);
})