Open Grafikart opened 11 months ago
The documentation does not explicit how to retrieve URL using this bundle. As a starting point I injected the operator
public function __construct(private readonly FilesystemOperator $uploadFilesystem) { }
Then I try to get the public url (this is a "local" adapter)
$this->uploadFilesystem->publicUrl($path)
This throw an UnableToGeneratePublicUrl from flysystem (this is documented here https://flysystem.thephpleague.com/docs/usage/public-urls/). Is there additional step to do to make this work with this bundle ?
UnableToGeneratePublicUrl
Question
The documentation does not explicit how to retrieve URL using this bundle. As a starting point I injected the operator
Then I try to get the public url (this is a "local" adapter)
This throw an
UnableToGeneratePublicUrl
from flysystem (this is documented here https://flysystem.thephpleague.com/docs/usage/public-urls/). Is there additional step to do to make this work with this bundle ?