mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
comments
This commit is contained in:
@@ -46,8 +46,7 @@ export const alovaInstance = createAlova({
|
||||
}
|
||||
|
||||
// Interceptor for request failure. This interceptor will be entered when the request is wrong.
|
||||
// TODO how best to handle http errors like 401 (unauthorized)
|
||||
// but I think this is handled correctly in AppRouting? See AuthenticatedRouting()
|
||||
// http errors like 401 (unauthorized) are handled either in the methods or AuthenticatedRouting()
|
||||
// onError: (error, method) => {
|
||||
// alert(error.message);
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user