Laravel 5.7. My default filesystem is set to S3:
config/filesystems.php
'default' => env('FILESYSTEM_DRIVER', 's3'),
I am able to upload to S3 with this configuration. But when I use the url method to retrieve the full URL, I only get a relative URL back:
return Storage::url($folder . '/' . $this->src);
returns /image/filename.jpg. What I expect is the full path to the S3 bucket + filename.
'url'in your S3 driver for filesystems.php?Storage::url($this->src);try this.. in filesystem already refer to the bucket you already setup..AWS_URL=(i.e. pointing to nothing) in my.envfile. I just removed that key and it worked. If you want to write that as an answer I can mark it as correct.