Skip to content

Commit 784db67

Browse files
fix s3 download
1 parent ebb6e30 commit 784db67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Notifications/Admin/ExportExcelNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function toMail(object $notifiable): MailMessage
4949
->subject(__('notification.export_finished.title'))
5050
->line(__('notification.export_finished.body'))
5151
->attach(Storage::disk(config('filament.filament-excel-disk'))->path($this->filename))
52-
->action(__('notification.export_finished.action'), $this->generateURL());
52+
->action(__('notification.export_finished.action'), Storage::disk(config('filament.filament-excel-disk'))->url($this->filename));
5353
}
5454

5555
/**

config/filesystems.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
'endpoint' => env('AWS_ENDPOINT'),
9090
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
9191
'throw' => false,
92-
'root' => env('AWS_PUBLIC_BUCKET_ROOT', ''),
92+
'root' => env('AWS_PUBLIC_BUCKET_ROOT', 'filament-excel'),
9393
'visibility' => 'private',
9494
],
9595

0 commit comments

Comments
 (0)