Question

How to show DigitalOcean private Spaces CDN temporaryURL on Laravel?

Posted March 11, 2021 196 views
UbuntuPHPPHP FrameworksDevelopmentDigitalOcean SpacesLaravel

I’ve successfully generated a CDN link in laravel but I stored it in private space.
I’m trying to generate a Storage::temporaryUrl for CDN but I’m not sure why it is not showing as CDN link but rather a normal link with temporary key.
The CDN link is working with just Storage::URL but when trying to access it I’m getting an Access Denied because it doesn’t have a temporary key.

I was wondering if there is a way to generate a TemporaryURL for CDN link with temporary key

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!