mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-21 20:55:32 +08:00
Moving change from axios interceptor to specific request.
This commit is contained in:
@@ -551,6 +551,11 @@ export default {
|
||||
|
||||
this.incident = res.data.incident;
|
||||
this.$root.publicGroupList = res.data.publicGroupList;
|
||||
}).catch( function (error) {
|
||||
if (error.response.status === 404) {
|
||||
location.href = "/page-not-found";
|
||||
}
|
||||
console.log(error);
|
||||
});
|
||||
|
||||
// 5mins a loop
|
||||
|
Reference in New Issue
Block a user