change fileupload field preview url
can i change the preview url of a uploaded file? dont want to use s3 for preview (only storage
)
Solution:Jump to solution
You'd need to use a getTemporaryUrl method override for the S3 driver where you use a local route which fetches the assets and returns it for you.
3 Replies
Solution
You'd need to use a getTemporaryUrl method override for the S3 driver where you use a local route which fetches the assets and returns it for you.
its a laravel thing
filament just calls storage::url() ?
seems to only call temporary on non public files tho
but that helps, thank you
Exactly, you are welcome.