mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-25 07:19:35 -05:00
fix: lint errors.
This commit is contained in:
parent
fdd781b081
commit
668e97c5a9
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user