Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Nov 22, 2024
1 parent ffde0bc commit a5c8601
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use App\Models\ScheduledJob;
use Dedoc\Scramble\Scramble;
use Filament\Actions\CreateAction;
use Filament\Forms\Components\SpatieMediaLibraryFileUpload;
use Filament\Resources\Pages\CreateRecord;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Database\Eloquent\Model;
Expand Down Expand Up @@ -39,6 +40,10 @@ public function register(): void
Config::set('scramble.info.version', $version);
Config::set('sentry.release', $version);
});

SpatieMediaLibraryFileUpload::configureUsing(function (SpatieMediaLibraryFileUpload $fileUpload) {
$fileUpload->disk(config('filament.default_filesystem_disk'));
});
}

/**
Expand Down

0 comments on commit a5c8601

Please sign in to comment.