Skip to content
Advertisement

Digitalocean Spaces Laravel App – Missing region

I am getting the following error:

JavaScript

Here is my setup (XXX to hide my creds):

.env file:

JavaScript

filesystems.php file (under the disks):

JavaScript

Also in filesystems.php file:

JavaScript

in the view file:

JavaScript

As you can see in the view, I try to store the image on the space and then store the path in the DB which would represent the path to the space.

I cannot get this error to go away; do you see any issues?

Thanks!

Advertisement

Answer

'region' => env('NYC3'), should be 'region' => env('DO_SPACES_REGION'),

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement