mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
ui: add service worker to cache resources (#445)
This commit is contained in:
1 parent
aa5df5346a
commit
fcc4eedd9f
10 files changed
+112
-54
No files matched your search
@@ -49,7 +49,7 @@ export default async function download(filename, targets) {
|
||||
} catch (e) {
|
||||
window.captureException?.(e);
|
||||
stopDownload();
|
||||
Notification.error(i18n('Download Error', [target.filename, e.toString()]));
|
||||
Notification.error(i18n('Download Error: {0} {1}', [target.filename, e.toString()]));
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user