|
|
@ -11,7 +11,7 @@ if (env === "development" || localStorage.dev === "dev") {
|
|
|
|
axios.interceptors.response.use(function (response) {
|
|
|
|
axios.interceptors.response.use(function (response) {
|
|
|
|
return response;
|
|
|
|
return response;
|
|
|
|
}, function (error) {
|
|
|
|
}, function (error) {
|
|
|
|
if(error.response.status === 404){
|
|
|
|
if (error.response.status === 404) {
|
|
|
|
location.href = "/page-not-found";
|
|
|
|
location.href = "/page-not-found";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log(error);
|
|
|
|
console.log(error);
|
|
|
|