1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-20 10:13:43 +00:00

no-store cache

This commit is contained in:
Kyle Spearrin
2020-01-13 07:49:05 -05:00
parent 3f17b642b4
commit 5819023bc4
4 changed files with 9 additions and 9 deletions

View File

@@ -192,7 +192,7 @@ export class ViewComponent implements OnDestroy, OnInit {
}
a.downloading = true;
const response = await fetch(new Request(attachment.url, { cache: 'no-cache' }));
const response = await fetch(new Request(attachment.url, { cache: 'no-store' }));
if (response.status !== 200) {
this.platformUtilsService.showToast('error', null, this.i18nService.t('errorOccurred'));
a.downloading = false;