fix for cancel upload

This commit is contained in:
Proddy
2023-07-02 12:38:05 +02:00
parent 34113c3698
commit 86daa13426
5 changed files with 17 additions and 17 deletions

View File

@@ -46,7 +46,8 @@ 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?
// TODO how best to handle http errors like 401 (unauthorized)
// but I think this is handled correctly in AppRouting? See AuthenticatedRouting()
// onError: (error, method) => {
// alert(error.message);
// }