Jul 24, 2018
0
Level 1
how to change the uploaded path in s3 to public
$res = \Storage::disk('s3')->put($directory.'/'.$filename,base64_decode($filedata));
By using the above code the uploaded file path is private by default
$res = \Storage::disk('s3')->put($directory.'/'.$filename,base64_decode($filedata),'public'); By using this above code i am not getting any response please suggest where i am doing wrong or How to make the uploaded path to public
Please or to participate in this conversation.