spatie / laravel-google-cloud-storage

Google Cloud Storage filesystem driver for Laravel
https://spatie.be/open-source
MIT License
196 stars 51 forks source link

Fixes #78 - Fix generating url when storage api url is missing #79

Closed beschoenen closed 1 year ago

beschoenen commented 1 year ago

This will make the adapter consistent with the logic of prepareConfig from version 2.2.3. https://github.com/spatie/laravel-google-cloud-storage/blob/2.2.3/src/GoogleCloudStorageServiceProvider.php#L102

In 2.2.3 the storageApiUri was only set if storage_api_uri was not falsy, since 2.2.4 it's always set if storage_api_uri is set.

Fixes #78

freekmurze commented 1 year ago

Thanks!