mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-14 06:36:46 +00:00
🎨 feat(notification): add private disk for PDF uploads and update download route with signed URL.
This commit is contained in:
@@ -26,7 +26,8 @@ class Notification extends Model implements HasMedia
|
||||
$this
|
||||
->addMediaCollection('pdf')
|
||||
->acceptsMimeTypes(['application/pdf'])
|
||||
->singleFile();
|
||||
->singleFile()
|
||||
->useDisk('private');
|
||||
}
|
||||
|
||||
public function einundzwanzigPleb(): BelongsTo
|
||||
|
||||
Reference in New Issue
Block a user