🎨 feat(notification): add private disk for PDF uploads and update download route with signed URL.

This commit is contained in:
fsociety
2024-10-25 20:06:19 +02:00
parent 603eed4c46
commit 3055bfa196
4 changed files with 34 additions and 14 deletions

View File

@@ -26,7 +26,8 @@ class Notification extends Model implements HasMedia
$this
->addMediaCollection('pdf')
->acceptsMimeTypes(['application/pdf'])
->singleFile();
->singleFile()
->useDisk('private');
}
public function einundzwanzigPleb(): BelongsTo