Welzh
How to customize the url FileUpload uses to fetch a file
Im using Stancl's multitenancy and in the tenant filament enviroment, I have some file upload for images, the uploads I got working, but the preview url gets loaded with the default asset() functionality, can I customize this to use a different way to fetch the files? example: tenant_asset($state)
Current url: http://domain.test/storage/01HNT1WMJ3667RZ48B31BD94EV.png
Desired url: http://domain.test/tenancy/assets/01HNT1WMJ3667RZ48B31BD94EV.png
5 replies