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
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.
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