mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-24 06:49:41 -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) {
|
||||
return response;
|
||||
}, function (error) {
|
||||
if(error.response.status === 404){
|
||||
if (error.response.status === 404) {
|
||||
location.href = "/page-not-found";
|
||||
}
|
||||
console.log(error);
|
||||
|
Loading…
Reference in New Issue
Block a user