Change storage method to use public disk for assets
This commit is contained in:
parent
78bee705ff
commit
3018c0353f
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ public function storeFromUrl(StoreAssetFromUrlRequest $request, UnsplashService
|
|||
$filename = Str::uuid().'.'.$extension;
|
||||
$path = 'medias/'.$filename;
|
||||
|
||||
Storage::put($path, $response->body());
|
||||
Storage::disk('public')->put($path, $response->body());
|
||||
|
||||
$meta = [];
|
||||
$tempFile = tempnam(sys_get_temp_dir(), 'unsplash');
|
||||
|
|
|
|||
Loading…
Reference in a new issue