Display progress bar when uploading file

This commit is contained in:
Zaid Abdulla committed 2021-07-27 14:18:35 -07:00
1 parent 1a53a320da
commit 6ce91df127
3 files changed
+101 -80

No files matched your search

+3 -1
View File
@@ -59,8 +59,10 @@ const getAuthorizer = memoize(
}
);
koa.on("error", async (err) => {
koa.on("error", async (err, ctx) => {
setTimeout(() => {
// Ignored errors resulting from aborted requests
if (ctx && ctx.req.aborted) return;
throw err;
});
});