nova-blog icon indicating copy to clipboard operation
nova-blog copied to clipboard

No way to specify a custom disk

Open x-yuri opened this issue 4 years ago • 0 comments
trafficstars

From what I can see it can be done like so:

Image::make('Featured image', 'featured_image')->disk(config('nova-blog.disk'))

https://github.com/optimistdigital/nova-blog/blob/9.6.0/src/Nova/Post.php#L108 (and in other places) https://nova.laravel.com/docs/3.0/resources/file-fields.html#defining-the-field

It should be easy to add this setting. Or am I missing something?

x-yuri avatar Apr 22 '21 16:04 x-yuri