Vinelab / cdn

CDN Assets Manager Package for Laravel.
MIT License
214 stars 71 forks source link

Push newly updated files to cdn #105

Closed daniyals closed 7 years ago

daniyals commented 7 years ago

Hello,

I would like to push the newly uploaded uses data e.g. when a user changes his profile picture, i'd like to automatically push it to cdn otherwise it doesnt display's the image.

What shud be the recommended way?

Calling Artisan::call('cdn:push'); from controller after upload gives an error saying public folder not found

daniyals commented 7 years ago

Ok so mentioning the full path in the config file fixed the issue. This issue doesnt shows up when running the command from command line but only running artisan commands from within code.