Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

No way to specify a custom disk #27

Open
x-yuri opened this issue Apr 22, 2021 · 0 comments
Open

No way to specify a custom disk #27

x-yuri opened this issue Apr 22, 2021 · 0 comments

Comments

@x-yuri
Copy link

x-yuri commented Apr 22, 2021

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant