Add cache-control headers to attachments.redirect response

This commit is contained in:
Tom Moor
2023-09-25 21:30:57 -04:00
parent b1ddf417be
commit 9e810387c0
3 changed files with 9 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ class Attachment extends IdModel {
}
/**
* Get a signed URL with the default expirt to download the attachment from storage.
* Get a signed URL with the default expiry to download the attachment from storage.
*/
get signedUrl() {
return FileStorage.getSignedUrl(this.key);